Jquery 1.6.2 Crashes IE8 Tabs

后端 未结 4 1510
感动是毒
感动是毒 2021-01-04 02:28

Hello fellow developers,

I am a little stumped on this one as I have been using JQuery 1.6.2 with no issues until three days ago. (There was a service pack update at

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-04 03:10

    I think I have a good test case example here of this behavior:

    http://onpoint.wbur.org/op_full.html

    This page is running the latest Jquery, a Disqus script and not much else.

    If you visit the page, it won't crash. But refreshing the page will cause IE8 to crash.

    Fixes:

    Any of the following will fix the crash:

    • Remove Jquery
    • Remove Disqus
    • Remove the BODY style declaration altogether
    • Remove just the background image call and instead use BG color
    • Move the style block to below the Jquery call

    So there's some interaction between the markup that the disqus script is pulling into the DOM, Jquery and the BODY css rule at the top.

    Very strange but there's definitely a bug here, either in Disqus' markup or Jquery.

提交回复
热议问题