WordPress.org

Forums

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

  1. codepeople
    Member
    Posted 1 year 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 1 year ago #

    Hi there,

    Thanks for your recommendation, we have done the change!

    Regards,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Language Switch
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.