diff options
author | Simon Pfreundschuh <simon.pfreundschuh@chalmers.se> | 2020-06-21 15:47:49 +0200 |
---|---|---|
committer | Simon Pfreundschuh <simon.pfreundschuh@chalmers.se> | 2020-06-23 11:23:13 +0200 |
commit | 14f84978e8a96a8aea412fb418f86da01e52eb9b (patch) | |
tree | 2a26094dad3bbc0f9a283539378839bea3b571b3 /doc/eigen_navtree_hacks.js | |
parent | ff4e7a0820365ee4b98cce71b7061009975b60f3 (diff) |
Replaced call to deprecated 'load' function with appropriate call to 'on'.
Diffstat (limited to 'doc/eigen_navtree_hacks.js')
-rw-r--r-- | doc/eigen_navtree_hacks.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); }); |