|
|
@ -190,9 +190,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
// display
|
|
|
|
// display
|
|
|
|
if (finalResults.length === 0) {
|
|
|
|
if (finalResults.length === 0) {
|
|
|
|
results.innerHTML = `<div class="result-card">
|
|
|
|
results.innerHTML = `<button class="result-card">
|
|
|
|
<p>No results.</p>
|
|
|
|
<h3>No results.</h3>
|
|
|
|
</div>`
|
|
|
|
<p>Try another search term?</p>
|
|
|
|
|
|
|
|
</button>`
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
results.innerHTML = finalResults
|
|
|
|
results.innerHTML = finalResults
|
|
|
|
.map(result => resultToHTML({
|
|
|
|
.map(result => resultToHTML({
|
|
|
|