Browse Source

open slide notes window automatically #135

embed
Hakim El Hattab 12 years ago
parent
commit
edfcfb1d3f
  1. 3
      plugin/speakernotes/client.js

3
plugin/speakernotes/client.js

@ -5,7 +5,8 @@
var socket = io.connect(window.location.origin); var socket = io.connect(window.location.origin);
var socketId = Math.random().toString().slice(2); 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 ) { Reveal.addEventListener( 'slidechanged', function( event ) {
var nextindexh; var nextindexh;

Loading…
Cancel
Save