forked from extern/easydiffusion
Fix error when removing image
Error report: https://discord.com/channels/1014774730907209781/1085803885500825600/1108150298289115187
This commit is contained in:
parent
1dc326cc41
commit
9410879b73
@ -23,7 +23,7 @@
|
|||||||
img.addEventListener(
|
img.addEventListener(
|
||||||
"load",
|
"load",
|
||||||
function() {
|
function() {
|
||||||
img.closest(".imageTaskContainer").scrollIntoView()
|
img?.closest(".imageTaskContainer").scrollIntoView()
|
||||||
},
|
},
|
||||||
{ once: true }
|
{ once: true }
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user