From 0e41b5d52fdc6af6442816b5f465c9db9f84e126 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:51:18 +0200 Subject: Adding upstream version 6.6.1+dfsg1. Signed-off-by: Daniel Baumann --- wp-includes/blocks/image/view.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wp-includes/blocks/image/view.js') 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, -- cgit v1.2.3