Fix colorazione hooks
This commit is contained in:
parent
f3dfaab57a
commit
9c5a2527c7
|
@ -172,12 +172,12 @@ function updateHook(hook) {
|
|||
|
||||
if (number == 0) {
|
||||
$("#hooks-notified").html('<i class="fa fa-check" aria-hidden="true"></i>');
|
||||
$("#hooks-label").removeClass();
|
||||
$("#hooks-label").addClass('badge').addClass('badge-success');
|
||||
$("#hooks-badge").removeClass();
|
||||
$("#hooks-badge").addClass('badge').addClass('badge-success');
|
||||
} else {
|
||||
$("#hooks-notified").text(number);
|
||||
$("#hooks-label").removeClass();
|
||||
$("#hooks-label").addClass('badge').addClass('badge-danger');
|
||||
$("#hooks-badge").removeClass();
|
||||
$("#hooks-badge").addClass('badge').addClass('badge-danger');
|
||||
}
|
||||
|
||||
if (counter == $("#hooks-number").text()) {
|
||||
|
|
Loading…
Reference in New Issue