summaryrefslogtreecommitdiff
path: root/lang.js
diff options
context:
space:
mode:
Diffstat (limited to 'lang.js')
-rw-r--r--lang.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang.js b/lang.js
index e0d287a2..a472fd07 100644
--- a/lang.js
+++ b/lang.js
@@ -45,5 +45,7 @@ function loadLang()
function activate_menu()
{
- document.getElementById("m_" + document.URL.replace(/^.*(\\|\/|\:)/, '').split('.')[0]).setAttribute('class', 'active');
+ b = document.getElementsByClass("m_" + document.URL.replace(/^.*(\\|\/|\:)/, '').split('.')[0])
+ for (i = 0; i < b.length(); i++)
+ b.setAttribute('class', 'active');
}