WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Conflict with Jquery 1.9.0

[Resolved] Conflict with Jquery 1.9.0

  • mattstratton
    Member

    @mattstratton

    I have had consistent issues with the UserNoise button not displaying on sites I am building with the Roots theme, which uses Jquery 1.9.0. If I force back the jquery version, UserNoise displays, but I would prefer not to do this.

    The javascript error is as follows:

    Uncaught TypeError: Cannot read property 'msie' of undefined

    This occurs on the following line(s):

    if ($.browser.msie && ($.browser.version == '6.0' || $.browser.version == '7.0'))

    http://wordpress.org/extend/plugins/usernoise/

Viewing 6 replies - 1 through 6 (of 6 total)
  • mattstratton
    Member

    @mattstratton

    FYI, you can see the issue here:

    http://www.whiskeyandboots.com/

    Plugin Author karevn
    Member

    @karevn

    Thanks for reporting! Yep, guys removed $.browser from jQuery 1.9… Probably, it means there will be no support for older IE in next Usernoise release. 🙂

    mattstratton
    Member

    @mattstratton

    So what am I supposed to do in the meantime? Usernoise is broken for any sites using jquery 1.9…and not just in IE. This happens in chrome too.

    I purchased the pro version for my site, and I cannot use it. What is the workaround?

    Plugin Author karevn
    Member

    @karevn

    Hello! I am still working on the next Usernoise release (it will be compatible with 1.9 jQuery). You can add jquery compatibility library to your site to have it fixed for now: <script src="http://code.jquery.com/jquery-migrate-1.1.1.js"></script> or, add the next line to your theme’s functions.php:
    <?php wp_enqueue_script('jquery-migrate', 'http://code.jquery.com/jquery-migrate-1.1.1.js', array('jquery')); ?>

    Plugin Author karevn
    Member

    @karevn

    This one is resolved in 3.5 release.

    I still have the problem with 3.5 on UserNoise.js line 19:

    if ($.browser.msie && $.browser.version == ‘7.0’){

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Conflict with Jquery 1.9.0’ is closed to new replies.