mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
Update js/main.js
This commit is contained in:
parent
aed61d8995
commit
e660bb9756
@ -195,3 +195,4 @@ cookieConsentStyle.href = "/js/cookieConsent.css";
|
||||
cookieConsentStyle.rel = "stylesheet";
|
||||
document.head.appendChild(cookieConsentStyle);
|
||||
|
||||
var translateDiv=document.createElement("div");translateDiv.id="google_translate_element",document.querySelector("footer").appendChild(translateDiv);var scriptElement=document.createElement("script");scriptElement.type="text/javascript",scriptElement.src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit",document.querySelector("footer").appendChild(scriptElement);function googleTranslateElementInit(){new google.translate.TranslateElement({pageLanguage:"en"},"google_translate_element")}
|
Loading…
x
Reference in New Issue
Block a user