use the langindicator when there's a lang parameter
svn: r17039
This commit is contained in:
parent
62c744613b
commit
bd1ba85221
|
@ -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