Skip to content

Commit e5e1ba9

Browse files
committed
Updated to make continue list in todo list default as unchecked
1 parent c6c7928 commit e5e1ba9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

addon/edit/continuelist.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
var bullet = unorderedListRE.test(match[2]) || match[2].indexOf(">") >= 0
4242
? match[2]
4343
: (parseInt(match[3], 10) + 1) + match[4];
44+
45+
// make todo list default unchecked
46+
after = after.replace('[x]', '[ ]');
4447

4548
replacements[i] = "\n" + indent + bullet + after;
4649
}

0 commit comments

Comments
 (0)