Skip to content

Commit

Permalink
Merge pull request #12795 from catboxanon/prevent-duplicate-resize-ha…
Browse files Browse the repository at this point in the history
…ndler-mk2

Prevent duplicate resize handler
  • Loading branch information
AUTOMATIC1111 committed Aug 27, 2023
1 parent 5e30f73 commit 783a575
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion javascript/resizeHandle.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@

onUiLoaded(function() {
for (var elem of gradioApp().querySelectorAll('.resize-handle-row')) {
setupResizeHandle(elem);
if (!elem.querySelector('.resize-handle')) {
setupResizeHandle(elem);
}
}
});

0 comments on commit 783a575

Please sign in to comment.