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:
parent
f72ec8f685
commit
d269b39832
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user