hide "aw shucks no gifs found" when returning a successful search

master
Aevann 2023-10-05 19:17:46 +03:00
parent 1c35d5fde3
commit 3e27dbec0a
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ document.getElementById('gifs-back-btn').addEventListener('click', show_gif_cate
async function searchGifs(searchTerm) {
gifSearchBar.value = searchTerm;
noGIFs.classList.add("d-none");
container.innerHTML = '';