mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
get headroom from bower
This commit is contained in:
parent
77e3111ad1
commit
27c3bdc042
58 changed files with 1224 additions and 3803 deletions
|
@ -1,5 +1,4 @@
|
|||
|
||||
$.fn.taskButton = function (options) {
|
||||
$.fn.taskButton = function (options) {
|
||||
|
||||
function pollTasks(button) {
|
||||
|
||||
|
@ -34,7 +33,13 @@ $.fn.taskButton = function (options) {
|
|||
return;
|
||||
}
|
||||
|
||||
$(button).buttonEnabled(task.State == 'Idle').attr('data-taskid', task.Id);
|
||||
if (task.State == 'Idle') {
|
||||
$(button).removeAttr('disabled');
|
||||
} else {
|
||||
$(button).attr('disabled', 'disabled');
|
||||
}
|
||||
|
||||
$(button).attr('data-taskid', task.Id);
|
||||
|
||||
var progress = (task.CurrentProgressPercentage || 0).toFixed(1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue