Fixed unresponsive UI in the download tab

This commit is contained in:
RemixDev 2020-05-17 21:24:46 +02:00
parent 336d3dd8a8
commit 1bd7104c79
3 changed files with 3 additions and 3 deletions

View File

@ -11384,7 +11384,7 @@ function addToQueue(queueItem, current = false) {
.addClass('determinate');
}
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(
`<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

View File

@ -138,7 +138,7 @@ function addToQueue(queueItem, current = false) {
.addClass('determinate')
}
$('#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(
`<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>`
)