diff --git a/site/_includes/header.html b/site/_includes/header.html index d8dffee..b868e93 100644 --- a/site/_includes/header.html +++ b/site/_includes/header.html @@ -4,7 +4,8 @@
- diff --git a/site/_layouts/main.html b/site/_layouts/main.html index a0f2314..0be9939 100644 --- a/site/_layouts/main.html +++ b/site/_layouts/main.html @@ -23,6 +23,7 @@ document.addEventListener('DOMContentLoaded', function() { '
  • {title}

    {category}

  • ', success: function(sr) { results.setAttribute("class", sr.length <= 1 ? "" : "show"); + console.log(sr); } }); @@ -32,6 +33,11 @@ document.addEventListener('DOMContentLoaded', function() { }); document.addEventListener("keypress", function(event) { + if (document.searching) { + console.log("is Searching"); + return + } + switch (event.key) { case "w": case "k":