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(
|
||||
"load",
|
||||
function() {
|
||||
img.closest(".imageTaskContainer").scrollIntoView()
|
||||
img?.closest(".imageTaskContainer").scrollIntoView()
|
||||
},
|
||||
{ once: true }
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user