Skip to content
Snippets Groups Projects
Commit bd79a721 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[continuecomment addon] Fix another reused loop variable

parent 010ca15e
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
insert = full.slice(0, token.start);
if (!/^\s*$/.test(insert)) {
insert = "";
for (var i = 0; i < token.start; ++i) insert += " ";
for (var j = 0; j < token.start; ++j) insert += " ";
}
} else if ((found = full.indexOf(mode.blockCommentContinue)) != -1 &&
found + mode.blockCommentContinue.length > token.start &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment