Commit e3507a1b authored by AUTOMATIC1111's avatar AUTOMATIC1111

fix for eslint

parent 4981c7d3
...@@ -6,7 +6,7 @@ function keyupEditOrder(event) { ...@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment