Merge pull request #12795 from catboxanon/prevent-duplicate-resize-handler-mk2

Prevent duplicate resize handler
This commit is contained in:
AUTOMATIC1111 2023-08-27 09:24:42 +03:00 committed by GitHub
commit 07878c6ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,6 +134,8 @@
onUiLoaded(function() { onUiLoaded(function() {
for (var elem of gradioApp().querySelectorAll('.resize-handle-row')) { for (var elem of gradioApp().querySelectorAll('.resize-handle-row')) {
if (!elem.querySelector('.resize-handle')) {
setupResizeHandle(elem); setupResizeHandle(elem);
} }
}
}); });