use the langindicator when there's a lang parameter
svn: r17039 original commit: bd1ba85221eaa7a31a72672af3d998e84f8b5f21
This commit is contained in:
parent
7b5fb07b3e
commit
5190646f36
|
@ -127,6 +127,11 @@ function PropagateLangInLink(a) {
|
|||
|
||||
AddOnLoad(function(){
|
||||
if (!cur_plt_lang) return;
|
||||
var indicator = document.getElementById("langindicator");
|
||||
if (indicator) {
|
||||
indicator.innerHTML = cur_plt_lang;
|
||||
indicator.style.display = "block";
|
||||
}
|
||||
var links = document.getElementsByTagName("a");
|
||||
for (var i=0; i<links.length; i++) PropagateLangInLink(links[i]);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user