diff --git a/Website/resolve.php b/Website/resolve.php
index f22c95d..dddadb7 100644
--- a/Website/resolve.php
+++ b/Website/resolve.php
@@ -30,8 +30,9 @@
http://lob.li/
+
-
@@ -47,46 +48,6 @@
-
-
-
-
- Oh noes! An error has occured.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -94,7 +55,7 @@
@@ -141,14 +102,12 @@
$.post("process.php?token=", $(this).serialize(), function(data){
$("#message").hide().slideDown("fast");
$("#theLoader").hide();
- if($('#error').length){
- $('#short-button').removeClass('btn-primary');
- $('#short-button').removeClass('btn-success');
- $('#short-button').addClass('btn-danger');
+ if($('#danger').length){
+ $('#short-button').removeClass("btn-primary btn-success btn-warning").addClass("btn-danger");
}else if($('#success').length){
- $('#short-button').removeClass('btn-primary');
- $('#short-button').removeClass('btn-danger');
- $('#short-button').addClass('btn-success');
+ $('#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");
}
});
});