Replaced call to deprecated 'load' function with appropriate call to 'on'.

This commit is contained in:
Simon Pfreundschuh 2020-06-21 15:47:49 +02:00
parent ff4e7a0820
commit 14f84978e8

View File

@ -137,7 +137,7 @@ function initNavTree(toroot,relpath)
} }
}) })
$(window).load(showRoot); $(window).on("load", showRoot);
} }
// return false if the the node has no children at all, or has only section/subsection children // return false if the the node has no children at all, or has only section/subsection children
@ -241,6 +241,6 @@ $(document).ready(function() {
} }
})(); })();
$(window).load(resizeHeight); $(window).on("load", resizeHeight);
}); });