From 28553fe863564b44f810eacc0ce3f45608346297 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 24 Jul 2018 18:41:15 +0200 Subject: build the thing.... --- StoneIsland/www/js/lib/account/ConsentModal.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'StoneIsland/www/js/lib') 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(){ -- cgit v1.2.3-70-g09d2