Template:Validation.js: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
fix for IE
No edit summary
Line 74: Line 74:


if ( form.opt_in ) {
if ( form.opt_in ) {
if ( $("input[name='opt_in']:checked").val() ) {
if ( $("input[name='opt_in']:checked").val() === undefined ) {
alert( "</html>{{int:donate_interface-error-msg-opt_in}}<html>" );
alert( "</html>{{int:donate_interface-error-msg-opt_in}}<html>" );
error = true;
error = true;