From d88f13b55e758bb5cbb161df861f0bbda5bf1a6d Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 22 Apr 2011 18:24:09 +1000 Subject: bug fix for opera (and probably other browser?) --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.js') diff --git a/main.js b/main.js index c9c65b39..6da63177 100644 --- a/main.js +++ b/main.js @@ -124,8 +124,8 @@ function init() document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild) - if(document.forms.delete) { - document.forms.delete.password.value = localStorage.password; + if(document.forms.postcontrols) { + document.forms.postcontrols.password.value = localStorage.password; } if (window.location.hash.indexOf('q') == 1) -- cgit v1.3