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
parent 5e30f737b0
commit 783a5754d5
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);
}
}
});