1
0
mirror of https://github.com/gamaio/lobli.git synced 2024-12-22 19:52:40 +00:00

Remove button color changing code from AJAX request

It's not needed and doesn't really work anyways.
This commit is contained in:
David Todd 2014-10-20 20:38:15 -05:00
parent f72ec8f685
commit d269b39832
No known key found for this signature in database
GPG Key ID: 48E847F18074C953
2 changed files with 1 additions and 8 deletions

View File

@ -173,13 +173,6 @@
$.post("process.php", $(this).serialize(), function(data){ $.post("process.php", $(this).serialize(), function(data){
$("#message").hide().html(data).slideDown("fast"); $("#message").hide().html(data).slideDown("fast");
$("#theLoader").hide(); $("#theLoader").hide();
if($('#danger').length){
$('#short-button').removeClass("btn-primary btn-success btn-warning").addClass("btn-danger");
}else if($('#success').length){
$('#short-button').removeClass("btn-primary btn-danger btn-warning").addClass("btn-success");
}else if($('#warning').length){
$('#short-button').removeClass("btn-primary btn-success btn-danger").addClass("btn-warning");
}
}); });
}); });
</script> </script>