From bdb560ca5600f73fed6469bd82220856cd4b7db5 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 20 Jan 2023 21:48:45 -0800 Subject: [PATCH] Compare style width when responsive resizing --- layouts/partials/paige/scripts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/paige/scripts.html b/layouts/partials/paige/scripts.html index 29419718..71ce1c25 100644 --- a/layouts/partials/paige/scripts.html +++ b/layouts/partials/paige/scripts.html @@ -25,7 +25,7 @@ function paigeResize() { break; } } - if (iframe && e.offsetWidth !== w) { + if (iframe && e.style.width !== w) { e.style.width = w + "px"; } }