diff options
author | 0neGal <mail@0negal.com> | 2024-12-20 13:33:51 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2024-12-20 13:33:51 +0100 |
commit | f15538e4dd5b7ddec3165dfb275ce1c2d7cd34ea (patch) | |
tree | ca2cc5ad092a3e6919b8faecfe742ddcbe087428 /src/app/js/navigate.js | |
parent | f660a6bc05781ad5722fc6ade2b8f94471875fc4 (diff) | |
download | Viper-f15538e4dd5b7ddec3165dfb275ce1c2d7cd34ea.tar.gz Viper-f15538e4dd5b7ddec3165dfb275ce1c2d7cd34ea.zip |
fixed navigate.select() not working on switches
Diffstat (limited to 'src/app/js/navigate.js')
-rw-r--r-- | src/app/js/navigate.js | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |