Merge pull request #1273 from patriceac/patch-2

Fix error when removing image
This commit is contained in:
cmdr2
2023-05-17 14:47:51 +05:30
committed by GitHub

View File

@ -23,7 +23,7 @@
img.addEventListener(
"load",
function() {
img.closest(".imageTaskContainer").scrollIntoView()
img?.closest(".imageTaskContainer").scrollIntoView()
},
{ once: true }
)