removed extra code
This commit is contained in:
@@ -100,7 +100,6 @@ function bindStateInputAndUpdate()
|
||||
|
||||
$(document).on('change', '#id_country', function(e)
|
||||
{
|
||||
console.log('change country');
|
||||
updateState();
|
||||
updateNeedIDNumber();
|
||||
updateZipCode();
|
||||
@@ -143,10 +142,8 @@ function updateState(suffix)
|
||||
$('.id_state' + (typeof suffix !== 'undefined' ? '_' + suffix : '') + ':hidden').fadeIn('slow');
|
||||
$('#id_state_invoice').uniform();
|
||||
}
|
||||
else {
|
||||
console.log('else');
|
||||
else
|
||||
$('.id_state' + (typeof suffix !== 'undefined' ? '_' + suffix : '')).fadeOut('fast');
|
||||
}
|
||||
}
|
||||
|
||||
function updateNeedIDNumber(suffix)
|
||||
|
||||
Reference in New Issue
Block a user