From bb006c95cc57f6a9425d778ac46418b812076f86 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Thu, 18 Jan 2007 12:55:46 +0000 Subject: [PATCH] Fix broken JS. --- lib/javascript-static.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/javascript-static.js b/lib/javascript-static.js index 6641e2d371..cb09d37c0c 100644 --- a/lib/javascript-static.js +++ b/lib/javascript-static.js @@ -139,7 +139,7 @@ function submitFormById(id) { if(!theform) { return false; } - if(theform.tagName != 'form') { + if(theform.tagName.toLowerCase() != 'form') { return false; } if(!theform.onsubmit || theform.onsubmit()) { -- 2.39.5