mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-13 17:33:08 +08:00
Series progress fine-tuning
This commit is contained in:
parent
a5a2122324
commit
4927612825
1 changed files with 3 additions and 2 deletions
|
@ -287,10 +287,11 @@
|
||||||
|
|
||||||
$( ".progress" ).each(function() {
|
$( ".progress" ).each(function() {
|
||||||
if ($(this).progress('is complete') != true) {
|
if ($(this).progress('is complete') != true) {
|
||||||
$(this).progress('set warning');
|
$(this).addClass('yellow');
|
||||||
}
|
}
|
||||||
if ($(this).progress('get total') == 0) {
|
if ($(this).progress('get total') == 0) {
|
||||||
$(this).progress('set success');
|
$(this).progress('update progress', '99');
|
||||||
|
$(this).addClass('grey disabled');
|
||||||
$(this).progress('set bar label', '0 / 0');
|
$(this).progress('set bar label', '0 / 0');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue