Compare commits

..

No commits in common. "68e05503f648a788755cf9367cb529bad6128f78" and "261463bbe51d844171b674ea076cd835dee21573" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "multi-hoster-uploader",
"version": "2.0.4",
"version": "2.0.3",
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
"main": "main.js",
"scripts": {

View File

@ -850,13 +850,12 @@ function _renderVirtualRows(tbody) {
if (startIdx === _lastVisibleRange.start && endIdx === _lastVisibleRange.end) {
const rows = tbody.querySelectorAll('.queue-row');
if (rows.length === endIdx - startIdx) {
let allMatch = true;
for (let i = 0; i < rows.length; i++) {
const job = _sortedJobsCache[startIdx + i];
if (rows[i].dataset.jobId !== job.id) { allMatch = false; break; }
if (rows[i].dataset.jobId !== job.id) { break; } // identity mismatch, full rebuild below
_updateRowInPlace(rows[i], job);
}
if (allMatch) return; // all rows updated in-place, no rebuild needed
return;
}
}
_lastVisibleRange = { start: startIdx, end: endIdx };