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