aboutsummaryrefslogtreecommitdiff
path: root/plugin/notes/notes.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-04-24 14:23:28 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-04-24 14:23:28 +0200
commit5771ae39f091966e603d3e1e5e64fbc0f387be64 (patch)
tree900507fc6ca6000feddac9531e640523dd845503 /plugin/notes/notes.js
parentf1133f0e103d6a75f5a8d4e884052c818ea86f3a (diff)
downloadfreenode-live-2017-presentation-5771ae39f091966e603d3e1e5e64fbc0f387be64.tar
freenode-live-2017-presentation-5771ae39f091966e603d3e1e5e64fbc0f387be64.tar.gz
speaker view has visible connection status, times out with error after 5s
Diffstat (limited to 'plugin/notes/notes.js')
-rw-r--r--plugin/notes/notes.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js
index 3f00eb6..7622858 100644
--- a/plugin/notes/notes.js
+++ b/plugin/notes/notes.js
@@ -21,6 +21,11 @@ var RevealNotes = (function() {
var notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' );
+ if( !notesPopup ) {
+ alert( 'Speaker view popup failed to open. Please make sure popups are allowed and reopen the speaker view.' );
+ return;
+ }
+
// Allow popup window access to Reveal API
notesPopup.Reveal = this.Reveal;