mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
handle multiple DOM nodes with same blurhash string
This commit is contained in:
parent
5716e4cf05
commit
d1e0a7b1d7
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ worker.addEventListener(
|
|||
// Lower values had more visible pixelation
|
||||
const width = 20;
|
||||
const height = 20;
|
||||
targetDic[hash] = target;
|
||||
targetDic[hash] = (targetDic[hash] || []).filter(item => item !== target);
|
||||
targetDic[hash].push(target);
|
||||
|
||||
worker.postMessage({
|
||||
hash,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue