Skip to content

Instantly share code, notes, and snippets.

@AladinDridi
Created September 26, 2017 07:54
Show Gist options
  • Save AladinDridi/1df3b323c9f597981539819cac75f998 to your computer and use it in GitHub Desktop.
Save AladinDridi/1df3b323c9f597981539819cac75f998 to your computer and use it in GitHub Desktop.
<script>
var table = document.getElementsByTagName("html");
statu=table[0].getAttribute("lang");
if(statu=="fr-FR"){
var idcourses = document.getElementById("user-cours");
idcourses.textContent="Mes cours";
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment