From: Hakim El Hattab Date: Mon, 10 Sep 2012 02:17:32 +0000 (-0400) Subject: open slide notes window automatically #135 X-Git-Tag: 2.0.0~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=edfcfb1d3f836375831a8db93f8c31d3cd617bfe;p=reveal.js.git open slide notes window automatically #135 --- diff --git a/plugin/speakernotes/client.js b/plugin/speakernotes/client.js index a97ad46..b164a56 100644 --- 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;