WordPress.org

Forums

Google Language Translator
[resolved] Javascript error (4 posts)

  1. JamesICT
    Member
    Posted 1 year ago #

    Hi,

    Plugin: Google Language Translator | Version 3.0.9

    I am having some javascript errors/conflicts on a site and have found the following:

    --------------
    Uncaught TypeError: Object [object Object] has no method 'on'
    event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
    --------------

    This comes from the following: load-toolbar.js?ver=3.8.1:5 [I have highlighted Line 5 in bold.

    jQuery(document).ready(function($) {
    $('#glt-translate-trigger').toolbar({content: '#glt-toolbar', position: 'top', hideOnClick: 'true'});
    $('#glt-translate-trigger').on('toolbarShown',function(event) {

    The conflict I am having is with plugin: http://wordpress.org/support/plugin/imagemapper

    Any help you can offer is much appreciated.

    Thank you

    https://wordpress.org/plugins/google-language-translator/

  2. Rob Myrick
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks JamesICT, let me check into this - I'm sorry for the delay. I will try and have a reply here in a day or two.

    Does the plugin not work at all for you? Or do you just have this error with no problems?

    Let me know. Thanks!

    Rob

  3. JamesICT
    Member
    Posted 1 year ago #

    Hi Rob,

    I have made some other changes on the site and the error message is no longer appearing.

    Thank you for your reply.

  4. Rob Myrick
    Member
    Plugin Author

    Posted 1 year ago #

    Hi JamesICT, I will mark this as resolved.

    Would you mind sharing the solution here for other (and myself) to understand? I have not yet experienced this sort of conflict.

    Thanks! Rob

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Language Translator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic