Prevent duplicate resize handler

This commit is contained in:
catboxanon 2023-08-26 15:56:17 -04:00
parent 72ee347eab
commit 9d8d279d0d
1 changed files with 3 additions and 1 deletions

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);
} }
}
}); });