mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-17 22:00:00 +00:00
front: fix press & hold not working on various picker
merge pull request #217 from dumbmoron/fix-hold-various-picker
This commit is contained in:
commit
b4f11b047e
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,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 class="picker-image" src="${text.arr[i]["thumb"]}" onerror="this.style.display='none'">` +
|
||||||
`</a>`
|
`</a>`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue