Skip to content

Instantly share code, notes, and snippets.

View nicolinuxfr's full-sized avatar
🏠
Working from home

Nicolas Furno nicolinuxfr

🏠
Working from home
View GitHub Profile
@nicolinuxfr
nicolinuxfr / search.js
Last active January 2, 2016 18:19 — forked from amyinorbit/search.js
Ajout : gestion des caractères accentués.
var searchIndex = null;
var results = [];
jQuery(document).ready(function() {
Search.getSearchIndex();
jQuery('#s').keyup(function() {
// get search term
var search_term = jQuery(this).val().toLowerCase();
// run the search
Search.doSearch(search_term);