fix doubleclick bug

This commit is contained in:
Sj-Si 2024-04-30 14:55:33 -04:00
parent bb28126e6d
commit 62efce4a37

View file

@ -1455,7 +1455,7 @@ function extraNetworksSetupEventDelegators() {
}
}
if (event.detail === 2) {
if (event.detail % 2 === 0) {
for (const obj of dbl_press_event_map) {
const elem = event.target.closest(obj.selector);
const neg = obj.negative ? event.target.closest(obj.negative) : null;