diff --git a/img/addlink.svg b/img/addlink.svg new file mode 100644 index 00000000..365feea0 --- /dev/null +++ b/img/addlink.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/js/search.js b/js/search.js index 7af67e3c..8a4818ec 100644 --- a/js/search.js +++ b/js/search.js @@ -1,7 +1,12 @@ $(document).ready(function () { $("#gamesearch").on("input propertychange paste", function () { - $("#games .game").hide(); var txt = $("#gamesearch").val(); + if(txt == "") { + $("#games .suggest").show(); + } else { + $("#games .suggest").hide(); + } + $("#games .game").hide(); $("#games .game").each(function () { if (($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1) || ($(this).attr("id").toUpperCase().indexOf(txt.toUpperCase()) != -1)) { $(this).show(); diff --git a/projects.html b/projects.html index 9cfa5418..894b5e3a 100644 --- a/projects.html +++ b/projects.html @@ -80,6 +80,7 @@
games loading..