alpakas-theme/js/pages/main/script.js

5 lines
137 B
JavaScript

let txtMainSearch = document.querySelector('#txt-main-search');
window.onload = function(){
autocomplete(txtMainSearch, results);
};