projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
884ecc6
)
open slide notes window automatically #135
author
Hakim El Hattab
<hakim.elhattab@gmail.com>
Mon, 10 Sep 2012 02:17:32 +0000
(22:17 -0400)
committer
Hakim El Hattab
<hakim.elhattab@gmail.com>
Mon, 10 Sep 2012 02:17:45 +0000
(22:17 -0400)
plugin/speakernotes/client.js
patch
|
blob
|
history
diff --git
a/plugin/speakernotes/client.js
b/plugin/speakernotes/client.js
index a97ad46abf684cf18b27a57aab636956132106a4..b164a56378d0e084fc26bb61ee9ec7e2f76eeb9f 100644
(file)
--- a/
plugin/speakernotes/client.js
+++ b/
plugin/speakernotes/client.js
@@
-5,7
+5,8
@@
var socket = io.connect(window.location.origin);
var socketId = Math.random().toString().slice(2);
- window.open(window.location.origin + '/notes/' + socketId, 'notes-' + socketId)
+ console.log('View slide notes at ' + window.location.origin + '/notes/' + socketId);
+ window.open(window.location.origin + '/notes/' + socketId, 'notes-' + socketId)
Reveal.addEventListener( 'slidechanged', function( event ) {
var nextindexh;