mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-01 12:25:06 +08:00
linter fixes
This commit is contained in:
parent
fe7bcbe340
commit
994f56c3f9
@ -56,6 +56,7 @@ module.exports = {
|
|||||||
onOptionsChanged: "writable",
|
onOptionsChanged: "writable",
|
||||||
uiCurrentTab: "writable",
|
uiCurrentTab: "writable",
|
||||||
uiElementIsVisible: "writable",
|
uiElementIsVisible: "writable",
|
||||||
|
uiElementInSight: "writable",
|
||||||
executeCallbacks: "writable",
|
executeCallbacks: "writable",
|
||||||
//ui.js
|
//ui.js
|
||||||
opts: "writable",
|
opts: "writable",
|
||||||
|
2
javascript/dragdrop.js
vendored
2
javascript/dragdrop.js
vendored
@ -82,7 +82,7 @@ window.addEventListener('paste', e => {
|
|||||||
|
|
||||||
const visibleImageFields = [...gradioApp().querySelectorAll('[data-testid="image"]')]
|
const visibleImageFields = [...gradioApp().querySelectorAll('[data-testid="image"]')]
|
||||||
.filter(el => uiElementIsVisible(el))
|
.filter(el => uiElementIsVisible(el))
|
||||||
.sort((a,b) => uiElementInSight(b) - uiElementInSight(a));
|
.sort((a, b) => uiElementInSight(b) - uiElementInSight(a));
|
||||||
|
|
||||||
|
|
||||||
if (!visibleImageFields.length) {
|
if (!visibleImageFields.length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user