Compare style width when responsive resizing

This commit is contained in:
Will Faught
2023-01-20 21:48:45 -08:00
parent da2773972f
commit bdb560ca56

View File

@@ -25,7 +25,7 @@ function paigeResize() {
break;
}
}
if (iframe && e.offsetWidth !== w) {
if (iframe && e.style.width !== w) {
e.style.width = w + "px";
}
}