Rename resize to paigeResize
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
function resize() {
|
function paigeResize() {
|
||||||
var e = document.querySelector("body > div.container > div.row > div.col");
|
var e = document.querySelector("body > div.container > div.row > div.col");
|
||||||
var s = getComputedStyle(e);
|
var s = getComputedStyle(e);
|
||||||
var px = parseFloat(s.paddingLeft) + parseFloat(s.paddingRight);
|
var px = parseFloat(s.paddingLeft) + parseFloat(s.paddingRight);
|
||||||
@@ -14,8 +14,8 @@ function resize() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
resize();
|
paigeResize();
|
||||||
addEventListener("resize", resize);
|
addEventListener("resize", paigeResize);
|
||||||
</script>
|
</script>
|
||||||
{{ with .Site.Params.paige.bootstrap.scripts_path }}
|
{{ with .Site.Params.paige.bootstrap.scripts_path }}
|
||||||
{{ with resources.Get (relLangURL .) }}
|
{{ with resources.Get (relLangURL .) }}
|
||||||
|
Reference in New Issue
Block a user