WordPress.org

Ready to get started?Download WordPress

Forums

Usernoise modal feedback / contact form
[resolved] Conflict with Jquery 1.9.0 (7 posts)

  1. mattstratton
    Member
    Posted 1 year ago #

    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/

  2. mattstratton
    Member
    Posted 1 year ago #

    FYI, you can see the issue here:

    http://www.whiskeyandboots.com/

  3. karevn
    Member
    Posted 1 year ago #

    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. :)

  4. mattstratton
    Member
    Posted 1 year ago #

    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?

  5. karevn
    Member
    Posted 1 year ago #

    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')); ?>

  6. karevn
    Member
    Posted 1 year ago #

    This one is resolved in 3.5 release.

  7. ghalleb
    Member
    Posted 1 year ago #

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

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.