mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 13:19:54 +00:00
fix for eslint
This commit is contained in:
@@ -6,7 +6,7 @@ function keyupEditOrder(event) {
|
|||||||
let target = event.originalTarget || event.composedPath()[0];
|
let target = event.originalTarget || event.composedPath()[0];
|
||||||
if (!target.matches("*:is([id*='_toprow'] [id*='_prompt'], .prompt) textarea")) return;
|
if (!target.matches("*:is([id*='_toprow'] [id*='_prompt'], .prompt) textarea")) return;
|
||||||
if (!event.altKey) return;
|
if (!event.altKey) return;
|
||||||
event.preventDefault()
|
event.preventDefault();
|
||||||
|
|
||||||
let isLeft = event.key == "ArrowLeft";
|
let isLeft = event.key == "ArrowLeft";
|
||||||
let isRight = event.key == "ArrowRight";
|
let isRight = event.key == "ArrowRight";
|
||||||
|
Reference in New Issue
Block a user