Style was removed when a note was removed

This commit is contained in:
Yohann D'ANELLO 2020-04-10 23:46:16 +02:00
parent a609d7c995
commit d96c40a00f
1 changed files with 2 additions and 1 deletions

View File

@ -162,7 +162,8 @@ function removeNote(d, note_prefix = "note", notes_display, note_list_id, user_n
disp.quantity -= disp.id === d.id ? 1 : 0;
new_notes_display.push(disp);
html += li(note_prefix + "_" + disp.id, disp.name
+ "<span class=\"badge badge-dark badge-pill\">" + disp.quantity + "</span>");
+ "<span class=\"badge badge-dark badge-pill\">" + disp.quantity + "</span>",
displayStyle(disp.note));
}
});