taler-www

Main taler.net website
Log | Files | Refs | Submodules | README | LICENSE

commit 2623745ab8c143a85e4244164604c3a3edb14367
parent d4d680906f17ac02239578fc4ed94e8c06354639
Author: Julian Kirsch <kirschju@sec.in.tum.de>
Date:   Tue, 18 Nov 2014 19:15:32 +0100

Add switching button function

Diffstat:
Mlang.js | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/lang.js b/lang.js @@ -38,3 +38,8 @@ function loadLang() if (l == 'null') l = get_default_lang(); setLang(l); } + +function activate_menu() +{ + document.getElementById("m_" + document.URL.replace(/^.*(\\|\/|\:)/, '').split('.')[0]).createAttribute('class', 'active'); +}