mirror of https://github.com/go-gitea/gitea.git
Fix “Submitting” state of Close issue input
If .btn-default isn’t removed, .btn-default and .btn-warning styles conflict
This commit is contained in:
parent
ef430ae7ab
commit
cd369b667f
|
@ -643,7 +643,7 @@ function initIssue() {
|
||||||
|
|
||||||
var $button = $(this);
|
var $button = $(this);
|
||||||
|
|
||||||
$button.removeClass("btn-success");
|
$button.removeClass("btn-success btn-default");
|
||||||
$button.addClass("btn-warning");
|
$button.addClass("btn-warning");
|
||||||
|
|
||||||
$button.text("Submiting...");
|
$button.text("Submiting...");
|
||||||
|
|
Loading…
Reference in New Issue