aboutsummaryrefslogtreecommitdiff
path: root/js/slide-deck.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/slide-deck.js')
-rw-r--r--js/slide-deck.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/slide-deck.js b/js/slide-deck.js
index 2943658..b93cea8 100644
--- a/js/slide-deck.js
+++ b/js/slide-deck.js
@@ -111,9 +111,9 @@ SlideDeck.prototype.onDomLoaded_ = function(e) {
111 // // Also, no need to set this up if we're on mobile. 111 // // Also, no need to set this up if we're on mobile.
112 // if (!Modernizr.touch) { 112 // if (!Modernizr.touch) {
113 this.controller = new SlideController(this); 113 this.controller = new SlideController(this);
114 if (this.controller.isPresenter) { 114 // if (this.controller.isPresenter) {
115 document.body.classList.add('popup'); 115 // document.body.classList.add('popup');
116 } 116 // }
117 // } 117 // }
118}; 118};
119 119
@@ -223,11 +223,11 @@ SlideDeck.prototype.onBodyKeyDown_ = function(e) {
223 break; 223 break;
224 224
225 case 80: // P 225 case 80: // P
226 if (this.controller && this.controller.isPresenter) { 226 // if (this.controller && this.controller.isPresenter) {
227 document.body.classList.toggle('with-notes'); 227 document.body.classList.toggle('with-notes');
228 } else if (this.controller && !this.controller.popup) { 228 // } else if (this.controller && !this.controller.popup) {
229 document.body.classList.toggle('with-notes'); 229 // document.body.classList.toggle('with-notes');
230 } 230 // }
231 break; 231 break;
232 232
233 case 82: // R 233 case 82: // R