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
1 changed files with 3 additions and 1 deletions

View File

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