mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
linter fixes
This commit is contained in:
parent
fe7bcbe340
commit
994f56c3f9
@ -56,6 +56,7 @@ module.exports = {
|
||||
onOptionsChanged: "writable",
|
||||
uiCurrentTab: "writable",
|
||||
uiElementIsVisible: "writable",
|
||||
uiElementInSight: "writable",
|
||||
executeCallbacks: "writable",
|
||||
//ui.js
|
||||
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"]')]
|
||||
.filter(el => uiElementIsVisible(el))
|
||||
.sort((a,b) => uiElementInSight(b) - uiElementInSight(a));
|
||||
.sort((a, b) => uiElementInSight(b) - uiElementInSight(a));
|
||||
|
||||
|
||||
if (!visibleImageFields.length) {
|
||||
|
Loading…
Reference in New Issue
Block a user