diff --git a/js/everything.js b/js/everything.js index 85e11877..04a9611b 100644 --- a/js/everything.js +++ b/js/everything.js @@ -786,6 +786,13 @@ $(function() { $("#demo").hide(); } + // Reverts to Home when there is no text in input + $("#v").on("input", function() { + if ($("#v").val() === "") { + $("#search-results").hide(); + } + }); + $("input[name='toggleRepeat']").change(function() { ZenPlayer.isRepeat = $(this).is(":checked"); });