open slide notes window automatically #135
This commit is contained in:
parent
884ecc6225
commit
edfcfb1d3f
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
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);
|
||||||
|
|
||||||
|
console.log('View slide notes at ' + window.location.origin + '/notes/' + socketId);
|
||||||
window.open(window.location.origin + '/notes/' + socketId, 'notes-' + socketId)
|
window.open(window.location.origin + '/notes/' + socketId, 'notes-' + socketId)
|
||||||
|
|
||||||
Reveal.addEventListener( 'slidechanged', function( event ) {
|
Reveal.addEventListener( 'slidechanged', function( event ) {
|
||||||
|
|
Loading…
Reference in a new issue