mirror of
https://github.com/gamaio/lobli.git
synced 2024-12-22 11:42: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
@ -278,4 +278,4 @@ hr {
|
||||
-webkit-animation: title 3.4s linear 1.7s infinite;
|
||||
animation: title 3.4s linear 1.7s infinite;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
@ -173,13 +173,6 @@
|
||||
$.post("process.php", $(this).serialize(), function(data){
|
||||
$("#message").hide().html(data).slideDown("fast");
|
||||
$("#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>
|
||||
|
Loading…
Reference in New Issue
Block a user