From edfcfb1d3f836375831a8db93f8c31d3cd617bfe Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Sun, 9 Sep 2012 22:17:32 -0400
Subject: [PATCH] open slide notes window automatically #135

---
 plugin/speakernotes/client.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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;
-- 
GitLab