summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Kirsch <kirschju@sec.in.tum.de>2014-11-18 19:23:18 +0100
committerJulian Kirsch <kirschju@sec.in.tum.de>2014-11-18 19:23:18 +0100
commit5c8f36018fa6cc8a100229b78cb10a7c6e976204 (patch)
tree1d187ea4b1cbd2647845921691d1a6e645a3dcfe
parentbe3754db1593e524c0b85e01d507235979e9d7ad (diff)
downloadwww-5c8f36018fa6cc8a100229b78cb10a7c6e976204.tar.gz
www-5c8f36018fa6cc8a100229b78cb10a7c6e976204.tar.bz2
www-5c8f36018fa6cc8a100229b78cb10a7c6e976204.zip
fix2
-rw-r--r--lang.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang.js b/lang.js
index a66a2f1..3727be6 100644
--- a/lang.js
+++ b/lang.js
@@ -41,5 +41,5 @@ function loadLang()
function activate_menu()
{
- document.getElementById("m_" + document.URL.replace(/^.*(\\|\/|\:)/, '').split('.')[0]).createAttribute('class', 'active');
+ document.getElementById("m_" + document.URL.replace(/^.*(\\|\/|\:)/, '').split('.')[0]).setAttribute('class', 'active');
}