WordPress.org

Ready to get started?Download WordPress

Forums

User Language Switch
[resolved] There is an issue in the js_script.js (2 posts)

  1. codepeople
    Member
    Posted 9 months ago #

    Hi,

    I recommend you modify a little the js_script.js file, to avoid the error: "$ is not a function", that I've detected in some websites.

    The current code of file is:

    $ = jQuery;

    $(document).ready(function(){...});

    But the correct is:

    jQuery(document).ready(function($){...});

    The "$" is passed as parameter to the function executed in the ready event.

    http://wordpress.org/plugins/user-language-switch/

  2. Webilop
    Member
    Plugin Author

    Posted 6 months ago #

    Hi there,

    Thanks for your recommendation, we have done the change!

    Regards,

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.