chore: lint fix

This commit is contained in:
Brett Zamir 2024-02-09 07:09:29 -07:00
parent 0097a3867e
commit 90db6dd7fa
3 changed files with 7 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -96,7 +96,11 @@ function processImage (
img = document.getElementById(img);
}
if (!img || (Object.prototype.toString.call(img).slice(8, -1) === 'HTMLImageElement' && !('naturalWidth' in img))) {
if (
!img ||
(Object.prototype.toString.call(img).slice(8, -1) ===
'HTMLImageElement' && !('naturalWidth' in img))
) {
return;
}