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