diff options
author | pacien | 2018-07-21 17:06:19 +0200 |
---|---|---|
committer | pacien | 2018-07-21 17:06:19 +0200 |
commit | 961bfe78d7f3ad7895c744580b94184980e45baa (patch) | |
tree | 37369bb3d00e11e31ebcf7129c6025f54cfa5a7b | |
parent | 79ccb5ac88a88d06713e8fe293e99d4f67e4a6d8 (diff) | |
download | beamer-viewer-961bfe78d7f3ad7895c744580b94184980e45baa.tar.gz |
Open in a new window instead of tab
-rw-r--r-- | pointless/viewer/stage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pointless/viewer/stage.js b/pointless/viewer/stage.js index b641a9e..99e240a 100644 --- a/pointless/viewer/stage.js +++ b/pointless/viewer/stage.js | |||
@@ -14,7 +14,7 @@ class Stage { | |||
14 | this.audienceScreen = null; | 14 | this.audienceScreen = null; |
15 | this.presenterScreen = null; | 15 | this.presenterScreen = null; |
16 | 16 | ||
17 | this.projector = window.open(window.location.href); | 17 | this.projector = window.open(window.location.href, "_blank", "toolbar=0,location=0,menubar=0"); |
18 | if (this.projector == null) | 18 | if (this.projector == null) |
19 | alert("Please allow pop-ups, then refresh this page."); | 19 | alert("Please allow pop-ups, then refresh this page."); |
20 | 20 | ||