Remove Old shiftWindow()
closes #7493 Docker-DCO-1.1-Signed-off-by: Christopher Biscardi <biscarch@sketcht.com> (github: ChristopherBiscardi)
This commit is contained in:
parent
8595a4ff7a
commit
1e2ce72ffe
|
@ -132,17 +132,6 @@ piCId = '1482';
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript">
|
<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() {
|
$(document).ready(function() {
|
||||||
$('#content').css("min-height", $(window).height() - 553 );
|
$('#content').css("min-height", $(window).height() - 553 );
|
||||||
// load the complete versions list
|
// load the complete versions list
|
||||||
|
|
Loading…
Reference in New Issue