Index: trunk/extensions/DonationInterface/modules/validate_input.js |
— | — | @@ -169,11 +169,8 @@ |
170 | 170 | } |
171 | 171 | |
172 | 172 | var stateField = document.getElementById( 'state' ); |
173 | | - console.debug(stateField); |
174 | | - console.debug(stateField.type); |
175 | 173 | if ( stateField && stateField.type == 'select-one' ) { // state is a dropdown select |
176 | 174 | var selectedState = stateField.options[stateField.selectedIndex].value; |
177 | | - console.debug(selectedState); |
178 | 175 | if ( selectedState == 'YY' || selectedState == '' ) { |
179 | 176 | output += mw.msg( 'donate_interface-error-msg-js' ) + ' ' + mw.msg( 'donate_interface-state-province' ) + '.\r\n'; |
180 | 177 | } |