fix bug. run linter

This commit is contained in:
Sj-Si 2024-05-10 12:25:54 -04:00
parent 6bb5613ed4
commit 1e907d8b70

View File

@ -1932,7 +1932,7 @@ function extraNetworksSetupEventDelegators() {
// Disable the context menu for long press items. On mobile, long press causes
// context menu to appear which we don't want.
window.oncontextmenu = event => {
event_map = long_press_event_map;
let event_map = long_press_event_map;
if (event.ctrlKey && event.shiftKey) {
event_map = long_ctrl_shift_press_event_map;
} else if (event.ctrlKey) {