summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Kirsch <kirschju@sec.in.tum.de>2014-11-18 22:10:11 +0100
committerJulian Kirsch <kirschju@sec.in.tum.de>2014-11-18 22:10:11 +0100
commitfe99542705f46dd8f8b07152702c67976281347c (patch)
treed1fbacfed526c1d54f6c1cf43e2d50ffb2c7bb95
parent376685a94d72aef587ae56a11514dc2761664dc9 (diff)
downloadwww-fe99542705f46dd8f8b07152702c67976281347c.tar.gz
www-fe99542705f46dd8f8b07152702c67976281347c.tar.bz2
www-fe99542705f46dd8f8b07152702c67976281347c.zip
Did I say that I hate JS?
-rw-r--r--lang.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang.js b/lang.js
index 75b3a72..8589729 100644
--- a/lang.js
+++ b/lang.js
@@ -46,6 +46,6 @@ function loadLang()
function activate_menu()
{
b = document.getElementsByClassName("m_" + document.URL.replace(/^.*(\\|\/|\:)/, '').split('.')[0])
- for (i = 0; i < b.length(); i++)
+ for (i = 0; i < b.length; i++)
b.setAttribute('class', 'active');
}