mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-14 10:15:31 +02:00
Fix error when removing image
Error report: https://discord.com/channels/1014774730907209781/1085803885500825600/1108150298289115187
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
img.addEventListener(
|
||||
"load",
|
||||
function() {
|
||||
img.closest(".imageTaskContainer").scrollIntoView()
|
||||
img?.closest(".imageTaskContainer").scrollIntoView()
|
||||
},
|
||||
{ once: true }
|
||||
)
|
||||
|
Reference in New Issue
Block a user