mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
fix bug. run linter
This commit is contained in:
parent
6bb5613ed4
commit
1e907d8b70
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user