aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-09-21 09:08:24 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-09-21 09:08:24 -0400
commit7075bc2b6ee664645b0f4291088dc6eb9e78fe2b (patch)
treea8dc38f6db4ca5079f0f9f0ace1b5df3e9696b82 /plugin
parentc5fe9bd3c4569091acbcd0b69425a39a994bdc47 (diff)
downloadfosdem-2018-presentation-7075bc2b6ee664645b0f4291088dc6eb9e78fe2b.tar
fosdem-2018-presentation-7075bc2b6ee664645b0f4291088dc6eb9e78fe2b.tar.gz
merge markdown in notes
Diffstat (limited to 'plugin')
-rw-r--r--plugin/speakernotes/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/speakernotes/client.js b/plugin/speakernotes/client.js
index 20f8e2f..ad1bd46 100644
--- a/plugin/speakernotes/client.js
+++ b/plugin/speakernotes/client.js
@@ -29,7 +29,7 @@
nextindexh : nextindexh,
nextindexv : nextindexv,
socketId : socketId,
- markdown : notes ? notes.getAttribute('data-markdown') != null : false
+ markdown : notes ? typeof notes.getAttribute('data-markdown') === 'string' : false
};