HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Javascript Brokes My Page

YoYo New
edited July 2015 in Vanilla 2.0 - 2.8

How can I add this code in the page:

function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'es', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, multilanguagePage: true}, 'google_translate_element'); }

When I put the code, my page broke.

It's the gogle translate code (http://translate.google.com/manager/website/add?hl=es)

Comments

Sign In or Register to comment.