mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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
1 changed files with 0 additions and 11 deletions
11
docs/theme/mkdocs/base.html
vendored
11
docs/theme/mkdocs/base.html
vendored
|
@ -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…
Add table
Reference in a new issue