summaryrefslogtreecommitdiffhomepage
path: root/plugin/speakernotes/notes.html
diff options
context:
space:
mode:
authorMichael Kühnel2012-10-19 00:12:53 +0200
committerMichael Kühnel2012-10-19 00:12:53 +0200
commit82bd8e4fb07c789d54aca58198963e977ffbd589 (patch)
treed6e797397ea6df4233af30c202fee2fbb5208cc3 /plugin/speakernotes/notes.html
parentd02e64adbd986d44dd02a70aec54aac606cdf7ab (diff)
Renaming key within fragmentData
Might be better to use one variable with different values.
Diffstat (limited to 'plugin/speakernotes/notes.html')
-rw-r--r--plugin/speakernotes/notes.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/speakernotes/notes.html b/plugin/speakernotes/notes.html
index af42480..f3b610d 100644
--- a/plugin/speakernotes/notes.html
+++ b/plugin/speakernotes/notes.html
@@ -128,10 +128,10 @@
console.dir(data);
if (data.socketId !== socketId) { return; }
- if (data.showFragment === true) {
+ if (data.fragment === 'next') {
currentSlide.contentWindow.Reveal.nextFragment();
}
- else if (data.hideFragment === true) {
+ else if (data.fragment === 'previous') {
currentSlide.contentWindow.Reveal.previousFragment();
}
});