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";
}
}