Popup on Eigen web page blocks content

徘徊边缘 提交于 2021-02-11 12:32:32

问题


For some reason the Eigen web page now has a popup blocking content. If you go to http://eigen.tuxfamily.org/dox/, the popup in the upper-left corner of the page doesn't want to go away. Help please! Seems to fail with both the latest Firefox and on Chrome.


回答1:


Looks like the Eigen developers are aware of this (Issue 1918) and they just merged a fix about 5 minutes ago. I'm not sure how long it takes to update the website, but the documentation bug causing the issue should be fixed.

Apparently the issue was with the JavaScript in eigen_navtree_hacks.js which needed the load function (which is deprecated) to be changed to the on function

 $(window).load(showRoot);

had to be changed to

 $(window).on("load", showRoot);

and

$(window).load(resizeHeight);

had to be changed to

$(window).on("load", resizeHeight);

I'm not sure what actually triggered the menu to start behaving this way in the first place.



来源:https://stackoverflow.com/questions/62539911/popup-on-eigen-web-page-blocks-content

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!