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:
f6b4561
)
use current host/port
author
Rebecca Murphey
<rmurphey@gmail.com>
Sun, 17 Jun 2012 22:43:29 +0000
(18:43 -0400)
committer
Rebecca Murphey
<rmurphey@gmail.com>
Sun, 17 Jun 2012 22:43:29 +0000
(18:43 -0400)
js/slidenotes.js
patch
|
blob
|
history
diff --git
a/js/slidenotes.js
b/js/slidenotes.js
index 9a4f15254cc58e9864ebe133015d3cf39d52098a..ef05062a251af6301de49ffd087fc881312dc796 100644
(file)
--- a/
js/slidenotes.js
+++ b/
js/slidenotes.js
@@
-3,8
+3,8
@@
var qs = window.location.href.split('?');
if (qs.length > 1 && qs[1].match('receiver')) { return; }
- var socket = io.connect(
'http://localhost:1947'
);
-
+ var socket = io.connect(
window.location.origin
);
+
Reveal.addEventListener( 'slidechanged', function( event ) {
var nextindexh;
var nextindexv;