Commit 9d8d279d authored by catboxanon's avatar catboxanon

Prevent duplicate resize handler

parent 72ee347e
......@@ -134,6 +134,8 @@
onUiLoaded(function() {
for (var elem of gradioApp().querySelectorAll('.resize-handle-row')) {
setupResizeHandle(elem);
if (!elem.querySelector('.resize-handle')) {
setupResizeHandle(elem);
}
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment