mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-26 02:05:09 +01:00
Merge pull request #1273 from patriceac/patch-2
Fix error when removing image
This commit is contained in:
commit
e4a7537952
@ -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