From f15538e4dd5b7ddec3165dfb275ce1c2d7cd34ea Mon Sep 17 00:00:00 2001 From: 0neGal Date: Fri, 20 Dec 2024 13:33:51 +0100 Subject: fixed navigate.select() not working on switches --- src/app/js/navigate.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/app/js/navigate.js') diff --git a/src/app/js/navigate.js b/src/app/js/navigate.js index 18c32b3..5665687 100644 --- a/src/app/js/navigate.js +++ b/src/app/js/navigate.js @@ -478,6 +478,7 @@ navigate.select = () => { // if `active` is a switch, use `settings.popup.switch()` on it, // to be able to toggle it if (active.closest(".switch")) { + active.closest(".switch").click(); settings.popup.switch(active.closest(".switch")); return; } -- cgit v1.2.3