mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-02-14 04:01:20 +00:00
Style was removed when a note was removed
This commit is contained in:
parent
a609d7c995
commit
d96c40a00f
@ -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;
|
disp.quantity -= disp.id === d.id ? 1 : 0;
|
||||||
new_notes_display.push(disp);
|
new_notes_display.push(disp);
|
||||||
html += li(note_prefix + "_" + disp.id, disp.name
|
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));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user