From f15047c5b8539f676eacd85a6207a4244c8b8b68 Mon Sep 17 00:00:00 2001 From: Roberto Tonino Date: Fri, 17 Apr 2020 21:33:46 +0200 Subject: [PATCH] went back to old search tab because of bugs --- public/index.html | 134 +++++++++++++++++++++++++++++++++++++++- public/js/app/search.js | 2 + 2 files changed, 133 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 806da6b..c886eea 100644 --- a/public/index.html +++ b/public/index.html @@ -33,8 +33,136 @@
- -
+ +
+
+ + + + + +
+
+ + + + + + + + + + +
+

Home

@@ -334,7 +462,7 @@

{{ metadata }}{{ rele - + diff --git a/public/js/app/search.js b/public/js/app/search.js index 014479f..4058a82 100644 --- a/public/js/app/search.js +++ b/public/js/app/search.js @@ -172,6 +172,8 @@ $("#searchbar").keyup(function(e){ sendAddToQueue(term); } }else{ + console.log( term ); + if (term != MainSearch.results.QUERY || main_selected == 'search_tab'){ document.getElementById("search_tab_content").style.display = "none"; socket.emit("mainSearch", {term: term});