mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-31 04:42:09 -08:00
addEventListener {passive: false} (#16575)
This commit is contained in:
parent
f31faf6f14
commit
59481435f4
3 changed files with 3 additions and 3 deletions
|
|
@ -104,7 +104,7 @@ var contextMenuInit = function() {
|
|||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
});
|
||||
}, {passive: false});
|
||||
});
|
||||
eventListenerApplied = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
} else {
|
||||
R.screenX = evt.changedTouches[0].screenX;
|
||||
}
|
||||
});
|
||||
}, {passive: false});
|
||||
});
|
||||
|
||||
resizeHandle.addEventListener('dblclick', onDoubleClick);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue