diff options
author | Julian Kirsch <kirschju@sec.in.tum.de> | 2014-11-18 22:04:07 +0100 |
---|---|---|
committer | Julian Kirsch <kirschju@sec.in.tum.de> | 2014-11-18 22:04:07 +0100 |
commit | daa007281d7e0099199e3449a67473d92eaf7a3d (patch) | |
tree | 2341949c488b56cc97072dfa5b8dc322dbeb5645 /lang.js | |
parent | 29543432248595360421da02be5f40c2f3aa34ad (diff) | |
download | www-daa007281d7e0099199e3449a67473d92eaf7a3d.tar.gz www-daa007281d7e0099199e3449a67473d92eaf7a3d.tar.bz2 www-daa007281d7e0099199e3449a67473d92eaf7a3d.zip |
Make buttons change state again
Diffstat (limited to 'lang.js')
-rw-r--r-- | lang.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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'); } |