Title: Javascript error
Last modified: August 21, 2016

---

# Javascript error

 *  Resolved [jamesict](https://wordpress.org/support/users/jamesict/)
 * (@jamesict)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-39/)
 * 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](http://wordpress.org/support/plugin/imagemapper)
 * Any help you can offer is much appreciated.
 * Thank you
 * [https://wordpress.org/plugins/google-language-translator/](https://wordpress.org/plugins/google-language-translator/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-39/#post-4779276)
 * 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
 *  Thread Starter [jamesict](https://wordpress.org/support/users/jamesict/)
 * (@jamesict)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-39/#post-4779278)
 * Hi Rob,
 * I have made some other changes on the site and the error message is no longer
   appearing.
 * Thank you for your reply.
 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-39/#post-4779332)
 * 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

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Javascript error’ is closed to new replies.

 * ![](https://ps.w.org/google-language-translator/assets/icon-256x256.png?rev=3007649)
 * [Translate WordPress - Google Language Translator](https://wordpress.org/plugins/google-language-translator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-language-translator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-language-translator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-language-translator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-language-translator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-language-translator/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-39/#post-4779332)
 * Status: resolved