diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-07-24 18:41:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-07-24 18:41:15 +0200 |
| commit | 28553fe863564b44f810eacc0ce3f45608346297 (patch) | |
| tree | 057febb8a68355257048ebb1eae5b5a44b2b6341 /StoneIsland/www/js/lib/account/ConsentModal.js | |
| parent | b6774fedca6a535e9f863d4bb72d87f46c47a59b (diff) | |
build the thing....
Diffstat (limited to 'StoneIsland/www/js/lib/account/ConsentModal.js')
| -rw-r--r-- | StoneIsland/www/js/lib/account/ConsentModal.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/StoneIsland/www/js/lib/account/ConsentModal.js b/StoneIsland/www/js/lib/account/ConsentModal.js index fcf2804c..c4fe0b53 100644 --- a/StoneIsland/www/js/lib/account/ConsentModal.js +++ b/StoneIsland/www/js/lib/account/ConsentModal.js @@ -30,6 +30,7 @@ var ConsentModal = View.extend({ this.$el.addClass('visible') }.bind(this), 20) app.curtain.show() + app.curtain.classList.add('opaque') }, hide: function(){ @@ -37,6 +38,7 @@ var ConsentModal = View.extend({ this.$el.removeClass('visible') setTimeout(function(){ this.$el.hide() + app.curtain.classList.remove('opaque') }.bind(this), 300) }, @@ -49,11 +51,11 @@ var ConsentModal = View.extend({ changeConsent: function(){ var state = this.$checkbox.prop("checked") - if (state) { - this.$el.addClass('consent-yes').removeClass('consent-no') - } else { - this.$el.addClass('consent-no').removeClass('consent-yes') - } + // if (state) { + // this.$el.addClass('consent-yes').removeClass('consent-no') + // } else { + // this.$el.addClass('consent-no').removeClass('consent-yes') + // } }, proceed: function(){ |
