Wordpress/wp-admin/js/site-search.js

1 line
220 B
JavaScript
Raw Normal View History

jQuery(function(a){a("#site-search-input").autocomplete({source:ajaxurl+"?action=autocomplete-site",delay:500,minLength:2,open:function(c,b){a(this).addClass("open")},close:function(c,b){a(this).removeClass("open")}})});