1
0
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:
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

@ -278,4 +278,4 @@ hr {
-webkit-animation: title 3.4s linear 1.7s infinite;
animation: title 3.4s linear 1.7s infinite;
opacity: 0;
}
}

View File

@ -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>