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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/slide-controller.js b/js/slide-controller.js
index f93cd52..84388a9 100644
--- a/js/slide-controller.js
+++ b/js/slide-controller.js
@@ -48,7 +48,8 @@ SlideController.prototype.setupDone = function() {
48 if (enablePresenterMode && JSON.parse(enablePresenterMode)) { 48 if (enablePresenterMode && JSON.parse(enablePresenterMode)) {
49 // Only open popup from main deck. Don't want recursive popup opening! 49 // Only open popup from main deck. Don't want recursive popup opening!
50 if (!this.isPopup) { 50 if (!this.isPopup) {
51 this.popup = window.open(location.href, 'mywindow'); 51 var opts = 'menubar=no,location=yes,resizable=yes,scrollbars=no,status=no';
52 this.popup = window.open(location.href, 'mywindow', opts);
52 53
53 // Loading in the popup? Trigger the hotkey for turning presenter mode on. 54 // Loading in the popup? Trigger the hotkey for turning presenter mode on.
54 this.popup.addEventListener('load', function(e) { 55 this.popup.addEventListener('load', function(e) {