Commit 6f4f69d8 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

JS fix

call positionFooter after its definition
parent 15ef3c3a
......@@ -341,7 +341,6 @@
var footerTop = 0;
var $footer = $("#footer-container");
positionFooter();
function positionFooter() {
footerHeight = 80;
footerTop = ($(window).scrollTop()+$(window).height()-footerHeight)+"px";
......@@ -370,7 +369,8 @@
}
}
}
}
positionFooter();
window.positionFooter = _.throttle(positionFooter, 100);
$(window).scroll(positionFooter).resize(positionFooter)
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment