Skip to content

Commit f1db5c9

Browse files
committed
Fix to remove part class in list item or it will be included in buildMap process
1 parent f454994 commit f1db5c9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

public/js/syncscroll.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ md.renderer.rules.list_item_open = function (tokens, idx, options, env, self) {
2828
if (tokens[idx].map) {
2929
var startline = tokens[idx].map[0] + 1;
3030
var endline = tokens[idx].map[1];
31-
tokens[idx].attrJoin('class', 'part');
3231
tokens[idx].attrJoin('data-startline', startline);
3332
tokens[idx].attrJoin('data-endline', endline);
3433
}

0 commit comments

Comments
 (0)