Fix paigeResize to use 100%
This commit is contained in:
@@ -6,7 +6,7 @@ function paigeResize() {
|
|||||||
}
|
}
|
||||||
var mw = getComputedStyle(e).maxWidth;
|
var mw = getComputedStyle(e).maxWidth;
|
||||||
var w;
|
var w;
|
||||||
if (mw === "none") {
|
if (mw === "100%") {
|
||||||
var e = document.querySelector("body > div.container");
|
var e = document.querySelector("body > div.container");
|
||||||
var s = getComputedStyle(e);
|
var s = getComputedStyle(e);
|
||||||
var px = parseFloat(s.paddingLeft) + parseFloat(s.paddingRight);
|
var px = parseFloat(s.paddingLeft) + parseFloat(s.paddingRight);
|
||||||
|
Reference in New Issue
Block a user