mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Fix lazy thumbnail load completion
This commit is contained in:
1 parent
b78337af6d
commit
96bbeef040
1 file changed
+1
-1
@@ -49,7 +49,7 @@ export class MediaLoader {
|
||||
el.style.backgroundImage = `url('${lazySrc}')`;
|
||||
}
|
||||
|
||||
el.dataset.thumbnailLoaded = "true";
|
||||
delete el.dataset.lazy;
|
||||
this.observer.unobserve(el);
|
||||
}
|
||||
}, {
|
||||
|
||||
Reference in new issue
Block a user