From 50489ddcb57fe84a8b39513ca79fcd4a6d0e1ac4 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 29 Mar 2015 20:51:31 +0200 Subject: [PATCH] onload's a bitch --- _sakura/templates/yuuno/global/header.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_sakura/templates/yuuno/global/header.tpl b/_sakura/templates/yuuno/global/header.tpl index 75a691f..6296267 100644 --- a/_sakura/templates/yuuno/global/header.tpl +++ b/_sakura/templates/yuuno/global/header.tpl @@ -33,6 +33,9 @@ headerLoginForm.className = (headerLoginForm.className == 'hidden' ? '' : 'hidden'); } + + // Execute initLoginForm() on load + window.onload = function(){initLoginForm();}; {% endif %} @@ -49,7 +52,7 @@