This commit is contained in:
Beaudan 2019-08-07 14:53:57 +10:00
parent 73b417e605
commit 9dae805017
2 changed files with 4 additions and 3 deletions

View file

@ -13,7 +13,9 @@
this.okText = options.okText || i18n('ok');
this.render();
this.$('.betaDisclaimerView').show();
this.$('.beta-disclaimer-dialog').bind('keyup', event => this.onKeyup(event));
this.$('.beta-disclaimer-dialog').bind('keyup', event =>
this.onKeyup(event)
);
},
events: {
'click .ok': 'close',

View file

@ -91,8 +91,7 @@
model: { window: options.window },
});
if (!window.storage.get('betaReleaseDisclaimerAccepted'))
{
if (!window.storage.get('betaReleaseDisclaimerAccepted')) {
this.showBetaReleaseDisclaimer();
}