Merge pull request #7532 from ChristopherBiscardi/shiftWindow

Remove Old shiftWindow()
This commit is contained in:
Sven Dowideit 2014-08-14 12:48:19 +10:00
commit f945edb3e0

View file

@ -132,17 +132,6 @@ piCId = '1482';
})();
</script>
<script type="text/javascript">
// Function to make the sticky header possible
var shiftWindow = function() {
scrollBy(0, -80);
};
window.addEventListener("hashchange", shiftWindow);
$(window).load(function() {
if (window.location.hash) {
shiftWindow();
}
});
$(document).ready(function() {
$('#content').css("min-height", $(window).height() - 553 );
// load the complete versions list