chore: Add placeholder image

This commit is contained in:
Hussain Nagaria 2021-05-04 11:08:45 +05:30 committed by marination
parent 70b164e7dd
commit 55d2bf0ff9
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -8,7 +8,7 @@ function populateResults(data) {
html = ""
for (let res of data.message) {
html += `<li class="list-group-item list-group-item-action">
<img class="item-thumb" src="${res.thumbnail || ''}" />
<img class="item-thumb" src="${res.thumbnail || 'img/placeholder.png'}" />
<a href="/${res.route}">${res.web_item_name}</a>
</li>`
}