Prevent duplicate resize handler
This commit is contained in:
parent
72ee347eab
commit
9d8d279d0d
|
@ -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')) {
|
||||||
setupResizeHandle(elem);
|
if (!elem.querySelector('.resize-handle')) {
|
||||||
|
setupResizeHandle(elem);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue