🌓
var path = '/' + search_path; var path = 'https://cdn.npm8.com/' + search_path; //- searchFunc(path, 'local-search-input', 'local-search-result'); var inputArea = document.querySelector("#local-search-input"); inputArea.onclick = function(){ searchFunc(path, 'local-search-input', 'local-search-result'); this.onclick = null } inputArea.onkeydown = function(){ if(event.keyCode == 13) return false }