// static/scripts/fixedsearch/fixedsearch.js /*-------------------------------------------------------------- fixedsearch — Super fast, client side search for Hugo.io with Fusejs.io based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993 --------------------------------------------------------------*/ if (typeof variable !== 'undefined') { console.log('fixedsearch.js already loaded'); } else { fixedsearch = function(){ var search_form = document.getElementById('search-form'); // search form var search_input = document.getElementById('search-input'); // input box for search var search_submit = document.getElementById('search-submit'); // form submit button var search_results = document.getElementById('search-results'); // targets the