Commit eb3c369f by doszhang

dos

parent c59e5cc0
...@@ -359,7 +359,7 @@ function addFlag() { ...@@ -359,7 +359,7 @@ function addFlag() {
function addFlagToList(text) { function addFlagToList(text) {
let item = $('<div class="checked-item"></div>'); let item = $('<div class="checked-item"></div>');
let flagNo = $('<div class="checked-flag-no">' + flagStack.indexOf(text) + 1 + '</div>'); let flagNo = $('<div class="checked-flag-no">' + parseInt(flagStack.indexOf(text)) + 1 + '</div>');
let flagText = $('<div class="checked-flag-text">' + text + '</div>'); let flagText = $('<div class="checked-flag-text">' + text + '</div>');
item.append(flagNo); item.append(flagNo);
item.append(flagText); item.append(flagText);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment