diff --git a/public/src/js/settings.js b/public/src/js/settings.js index 97b8a41..0e38926 100644 --- a/public/src/js/settings.js +++ b/public/src/js/settings.js @@ -134,7 +134,7 @@ class SettingsView{ settingBox.classList.add("selected") } pageEvents.add(settingBox, ["mousedown", "touchstart"], event => { - if(event.which === 1){ + if(event.type !== "mousedown" || event.which === 1){ event.preventDefault() this.setValue(i) }