diff options
author | Eric Bidelman | 2012-04-22 10:49:09 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-04-22 10:49:09 -0700 |
commit | 3eb0b65ee81bcba9832c5c6f792bf7e645673244 (patch) | |
tree | 8ca4aed321c99ce794d13a5e899ee25233f5114d | |
parent | 6c5f4961caa11c682508eb511bf7c1ed505567e5 (diff) | |
download | io-slides-remote-3eb0b65ee81bcba9832c5c6f792bf7e645673244.tar.gz |
popup opts set
-rw-r--r-- | js/slide-controller.js | 3 |
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) { |