Compare style width when responsive resizing
This commit is contained in:
@@ -25,7 +25,7 @@ function paigeResize() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (iframe && e.offsetWidth !== w) {
|
||||
if (iframe && e.style.width !== w) {
|
||||
e.style.width = w + "px";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user