Fix broken JS.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user