From f1db5c96f34eec71873a926db5f94f270dd18f8d Mon Sep 17 00:00:00 2001 From: "Cheng-Han, Wu" Date: Tue, 21 Jun 2016 21:46:27 +0800 Subject: [PATCH] Fix to remove part class in list item or it will be included in buildMap process --- public/js/syncscroll.js | 1 - 1 file changed, 1 deletion(-) diff --git a/public/js/syncscroll.js b/public/js/syncscroll.js index 4773df1..231f141 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); }