Commit cf8b09e5 authored by Remi Rampin's avatar Remi Rampin

Keep highlights count when updating tag

parent 9a379a73
Pipeline #66392368 passed with stage
in 2 minutes and 6 seconds
......@@ -646,6 +646,9 @@ function linkTag(elem, tag_path) {
linkTag(document.getElementById('load-all-tags'), '');
function addTag(tag) {
if(!('count' in tag) && tag.id in tags) {
tag.count = tags[tag.id].count;
}
tags[tag.id] = tag;
updateTagsList();
}
......
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 to comment