mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-01 05:11:19 -08:00
fix bug. run linter
This commit is contained in:
parent
6bb5613ed4
commit
1e907d8b70
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue