summaryrefslogtreecommitdiff
path: root/public/js/syncscroll.js
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-06-21 21:46:27 +0800
committerCheng-Han, Wu2016-06-21 21:46:27 +0800
commitf1db5c96f34eec71873a926db5f94f270dd18f8d (patch)
tree1557ae9f54f8e8c014503a780649c0bc29283e9a /public/js/syncscroll.js
parentf454994daa9bcd579d6c1c9f2db13c7065b236d0 (diff)
Fix to remove part class in list item or it will be included in buildMap process
Diffstat (limited to '')
-rw-r--r--public/js/syncscroll.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/public/js/syncscroll.js b/public/js/syncscroll.js
index 4773df19..231f141d 100644
--- a/public/js/syncscroll.js
+++ b/public/js/syncscroll.js
@@ -28,7 +28,6 @@ md.renderer.rules.list_item_open = function (tokens, idx, options, env, self) {
if (tokens[idx].map) {
var startline = tokens[idx].map[0] + 1;
var endline = tokens[idx].map[1];
- tokens[idx].attrJoin('class', 'part');
tokens[idx].attrJoin('data-startline', startline);
tokens[idx].attrJoin('data-endline', endline);
}