Commit 71aab8cd authored by Ale's avatar Ale

fix: Deselect timeline items when checking visibility

parent dcb7f451
......@@ -319,6 +319,8 @@ const init_legend = function(items)
*/
const check_items = function()
{
// If there's a selected timeline item, deselect it
document.querySelector('.selected').classList.remove('selected');
items_lookup.forEach( item =>
{
var item_displays = document.querySelectorAll(`.item-${item.pk}`);
......
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