Replaced call to deprecated 'load' function with appropriate call to 'on'.
diff --git a/doc/eigen_navtree_hacks.js b/doc/eigen_navtree_hacks.js
index a6f8c34..88b7c42 100644
--- a/doc/eigen_navtree_hacks.js
+++ b/doc/eigen_navtree_hacks.js
@@ -137,7 +137,7 @@
}
})
- $(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 @@
}
})();
- $(window).load(resizeHeight);
+ $(window).on("load", resizeHeight);
});