manual/site/mkdocs/js/search.js in machinery-tool-1.22.2 vs manual/site/mkdocs/js/search.js in machinery-tool-1.22.3
- old
+ new
@@ -1,8 +1,8 @@
require([
base_url + '/mkdocs/js/mustache.min.js',
- base_url + '/mkdocs/js/lunr-0.5.7.min.js',
+ base_url + '/mkdocs/js/lunr.min.js',
'text!search-results-template.mustache',
'text!../search_index.json',
], function (Mustache, lunr, results_template, data) {
"use strict";
@@ -68,10 +68,10 @@
* We currently only automatically hide bootstrap models. This
* requires jQuery to work.
*/
jQuery('#mkdocs_search_modal a').click(function(){
jQuery('#mkdocs_search_modal').modal('hide');
- })
+ });
}
};
var search_input = document.getElementById('mkdocs-search-query');