diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
commit | 0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch) | |
tree | e139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/blocks/image/view.js | |
parent | Adding upstream version 6.5.5+dfsg1. (diff) | |
download | wordpress-upstream/6.6.1+dfsg1.tar.xz wordpress-upstream/6.6.1+dfsg1.zip |
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/image/view.js')
-rw-r--r-- | wp-includes/blocks/image/view.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wp-includes/blocks/image/view.js b/wp-includes/blocks/image/view.js index 88b4815..62c1f50 100644 --- a/wp-includes/blocks/image/view.js +++ b/wp-includes/blocks/image/view.js @@ -197,7 +197,9 @@ const { }, callbacks: { setOverlayStyles() { - if (!imageRef) return; + if (!imageRef) { + return; + } let { naturalWidth, naturalHeight, |