From 3eb0b65ee81bcba9832c5c6f792bf7e645673244 Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Sun, 22 Apr 2012 10:49:09 -0700 Subject: popup opts set --- js/slide-controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { if (enablePresenterMode && JSON.parse(enablePresenterMode)) { // Only open popup from main deck. Don't want recursive popup opening! if (!this.isPopup) { - this.popup = window.open(location.href, 'mywindow'); + var opts = 'menubar=no,location=yes,resizable=yes,scrollbars=no,status=no'; + this.popup = window.open(location.href, 'mywindow', opts); // Loading in the popup? Trigger the hotkey for turning presenter mode on. this.popup.addEventListener('load', function(e) { -- cgit v1.2.3