Ver Fonte

Fix “Submitting” state of Close issue input

If .btn-default isn’t removed, .btn-default and .btn-warning styles
conflict
Andrew Patton há 10 anos atrás
pai
commit
cd369b667f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      public/js/app.js

+ 1 - 1
public/js/app.js

@@ -643,7 +643,7 @@ function initIssue() {
 
             var $button = $(this);
 
-            $button.removeClass("btn-success");
+            $button.removeClass("btn-success btn-default");
             $button.addClass("btn-warning");
 
             $button.text("Submiting...");