WordPress.org

Support

Support » Plugins and Hacks » Auto ThickBox Plus » Thickbox stopped working

Thickbox stopped working

Viewing 2 replies - 1 through 2 (of 2 total)
  • I checked the JavaScript console on Chrome and there is one error that says: Uncaught TypeError: Cannot read property ‘msie’ of indefined

    After checking some jQuery forums this line it’s referring to seems to be okay and ‘msie’ is not a TypeError or if so, I have no idea what to change it to.

    Also nothing to do with this was changed recently on my site…
    I really need Auto ThickBox 🙁

    Hi Doe3,

    I actually had to just solve this problem myself so I’ll let you know how I did it (in case you are still interested after posting this 8 months ago!).

    Basically, I removed the MSIE check within the minified JavaScript file: thickbox.min.js

    Where it says…
    jQuery.browser.msie&&7>=parseInt(jQuery.browser.version)&&jQuery("#TB_ImageClick > a")

    Change it to…

    jQuery(“#TB_ImageClick > a”)

    Done! This problem only creeps up (for me) if I try to use the prev/next option, but that fixes it. It also still appears to work in MSIE7+ so … no harm done.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thickbox stopped working’ is closed to new replies.
Skip to toolbar