aboutsummaryrefslogtreecommitdiff
path: root/js/slide-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/slide-controller.js')
-rw-r--r--js/slide-controller.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/slide-controller.js b/js/slide-controller.js
index bef37c4..2fb2560 100644
--- a/js/slide-controller.js
+++ b/js/slide-controller.js
@@ -12,14 +12,13 @@
12 12
13 this.mode = null; 13 this.mode = null;
14 this.remoteSocket = null; 14 this.remoteSocket = null;
15 this.isPresenter = window.opener; 15 this.isPresenter = false;
16 this.isController = window.opener; 16 this.isController = false;
17 17
18 this.keyLock = null; 18 this.keyLock = null;
19 19
20 this.setup(); 20 this.setup();
21 } 21 };
22
23 22
24 SlideController.MODES = ['local', 'remote', 'controller', 'presenter']; 23 SlideController.MODES = ['local', 'remote', 'controller', 'presenter'];
25 24
@@ -68,6 +67,7 @@
68 67
69 // Loading in the popup? Turn the presenter mode on. 68 // Loading in the popup? Turn the presenter mode on.
70 localPresenter.addEventListener('load', function(e) { 69 localPresenter.addEventListener('load', function(e) {
70 localPresenter.document.body.classList.add('popup');
71 localPresenter.document.body.classList.add('with-notes'); 71 localPresenter.document.body.classList.add('with-notes');
72 }.bind(this), false); 72 }.bind(this), false);
73 73