summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib')
-rw-r--r--StoneIsland/www/js/lib/account/ConsentModal.js12
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(){