ECOM-369 Reunited the missing line with the rest of the page elements and fixed an error with HTML5 validation override

This commit is contained in:
AlasdairSwan
2014-11-12 15:51:18 -05:00
parent 2fc2207bd2
commit ecb6a69fe7
2 changed files with 4 additions and 2 deletions

View File

@@ -168,7 +168,9 @@ var edx = edx || {};
// Removes the default HTML5 validation pop-up
removeDefault: function( $el ) {
$el.setCustomValidity(' ');
if ( $el.setCustomValidity ) {
$el.setCustomValidity(' ');
}
}
}
};