1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update external subs

This commit is contained in:
Luke Pulverenti 2015-09-12 12:39:24 -04:00
parent 0f37b99468
commit 10bcfa593b
13 changed files with 110 additions and 101 deletions

View file

@ -39,12 +39,12 @@ $.fn.taskButton = function (options) {
var progress = (task.CurrentProgressPercentage || 0).toFixed(1);
if (options.progressElem) {
var progressElem = options.progressElem.val(progress);
options.progressElem.value = progress;
if (task.State == 'Running') {
progressElem.show();
options.progressElem.classList.remove('hide');
} else {
progressElem.hide();
options.progressElem.classList.add('hide');
}
}