Fixed unresponsive UI in the download tab
This commit is contained in:
parent
336d3dd8a8
commit
1bd7104c79
@ -11384,7 +11384,7 @@ function addToQueue(queueItem, current = false) {
|
|||||||
.addClass('determinate');
|
.addClass('determinate');
|
||||||
}
|
}
|
||||||
jquery('#bar_' + queueItem.uuid).css('width', queueItem.progress + '%');
|
jquery('#bar_' + queueItem.uuid).css('width', queueItem.progress + '%');
|
||||||
if (queueItem.failed >= 1 && jquery('#download_' + update.uuid + ' .queue_failed').length == 0) {
|
if (queueItem.failed >= 1 && jquery('#download_' + queueItem.uuid + ' .queue_failed').length == 0) {
|
||||||
jquery('#download_' + queueItem.uuid + ' .download_info_status').append(
|
jquery('#download_' + queueItem.uuid + ' .download_info_status').append(
|
||||||
`<span class="secondary-text inline-flex"><span class="download_slim_separator">(</span><span class="queue_failed">${queueItem.failed}</span><i class="material-icons">error_outline</i><span class="download_slim_separator">)</span></span>`
|
`<span class="secondary-text inline-flex"><span class="download_slim_separator">(</span><span class="queue_failed">${queueItem.failed}</span><i class="material-icons">error_outline</i><span class="download_slim_separator">)</span></span>`
|
||||||
);
|
);
|
||||||
|
File diff suppressed because one or more lines are too long
@ -138,7 +138,7 @@ function addToQueue(queueItem, current = false) {
|
|||||||
.addClass('determinate')
|
.addClass('determinate')
|
||||||
}
|
}
|
||||||
$('#bar_' + queueItem.uuid).css('width', queueItem.progress + '%')
|
$('#bar_' + queueItem.uuid).css('width', queueItem.progress + '%')
|
||||||
if (queueItem.failed >= 1 && $('#download_' + update.uuid + ' .queue_failed').length == 0) {
|
if (queueItem.failed >= 1 && $('#download_' + queueItem.uuid + ' .queue_failed').length == 0) {
|
||||||
$('#download_' + queueItem.uuid + ' .download_info_status').append(
|
$('#download_' + queueItem.uuid + ' .download_info_status').append(
|
||||||
`<span class="secondary-text inline-flex"><span class="download_slim_separator">(</span><span class="queue_failed">${queueItem.failed}</span><i class="material-icons">error_outline</i><span class="download_slim_separator">)</span></span>`
|
`<span class="secondary-text inline-flex"><span class="download_slim_separator">(</span><span class="queue_failed">${queueItem.failed}</span><i class="material-icons">error_outline</i><span class="download_slim_separator">)</span></span>`
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user