Loading assets/js/index.js +0 −12 Original line number Diff line number Diff line Loading @@ -117,7 +117,6 @@ Source: ; search.addEventListener('input', show_results, true); suggestions.addEventListener('click', accept_suggestion, true); function show_results(){ const maxResult = 5; Loading Loading @@ -157,15 +156,4 @@ Source: if(suggestions.childElementCount == maxResult) break; } } function accept_suggestion(){ while(suggestions.lastChild){ suggestions.removeChild(suggestions.lastChild); } return false; } }()); Loading
assets/js/index.js +0 −12 Original line number Diff line number Diff line Loading @@ -117,7 +117,6 @@ Source: ; search.addEventListener('input', show_results, true); suggestions.addEventListener('click', accept_suggestion, true); function show_results(){ const maxResult = 5; Loading Loading @@ -157,15 +156,4 @@ Source: if(suggestions.childElementCount == maxResult) break; } } function accept_suggestion(){ while(suggestions.lastChild){ suggestions.removeChild(suggestions.lastChild); } return false; } }());