Re-activating button in case of failure

master
davide 6 years ago
parent 5da9712276
commit ae96e7457c

@ -263,6 +263,8 @@ function octopartFetch(){
$('#description-input').val('');
$('#description-input').attr('placeholder', json['result']);
}
}).fail(function() {
$('#magic-autofill-button').removeAttr('disabled');
});
}

Loading…
Cancel
Save