fix "press & hold" not working on various picker

This commit is contained in:
dumbmoron 2023-10-10 21:06:32 +00:00
parent 6c314a1a62
commit 840994ef71
No known key found for this signature in database
GPG key ID: C59997C76C6A8E5F

View file

@ -242,7 +242,7 @@ function popup(type, action, text) {
isIOS ? `onClick="share('${text.arr[i]["url"]}')"` : `href="${text.arr[i]["url"]}" target="_blank"` isIOS ? `onClick="share('${text.arr[i]["url"]}')"` : `href="${text.arr[i]["url"]}" target="_blank"`
}>` + }>` +
`<div class="picker-element-name">${text.arr[i].type}</div>` + `<div class="picker-element-name">${text.arr[i].type}</div>` +
`<div class="imageBlock"></div>` + (text.arr[i].type === 'photo' ? '' : '<div class="imageBlock"></div>') +
`<img class="picker-image" src="${text.arr[i]["thumb"]}" onerror="this.style.display='none'"></img>` + `<img class="picker-image" src="${text.arr[i]["thumb"]}" onerror="this.style.display='none'"></img>` +
`</a>` `</a>`
} }