From 14f84978e8a96a8aea412fb418f86da01e52eb9b Mon Sep 17 00:00:00 2001 From: Simon Pfreundschuh Date: Sun, 21 Jun 2020 15:47:49 +0200 Subject: Replaced call to deprecated 'load' function with appropriate call to 'on'. --- doc/eigen_navtree_hacks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/eigen_navtree_hacks.js b/doc/eigen_navtree_hacks.js index a6f8c3428..88b7c4218 100644 --- a/doc/eigen_navtree_hacks.js +++ b/doc/eigen_navtree_hacks.js @@ -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 @@ -241,6 +241,6 @@ $(document).ready(function() { } })(); - $(window).load(resizeHeight); + $(window).on("load", resizeHeight); }); -- cgit v1.2.3