mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Merge pull request #12795 from catboxanon/prevent-duplicate-resize-handler-mk2
Prevent duplicate resize handler
This commit is contained in:
commit
07878c6ca8
@ -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
Block a user