diff --git a/CHANGELOG.md b/CHANGELOG.md index d0d37c3330c6..4b0a4697f2e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Enhancements +- Remove unecessary console.log in `lunr-en.js` and `lunr-gr.js` JavaScript. [#2193](https://github.com/mmistakes/minimal-mistakes/issues/2193) - Remove unecessary `type="text/javascript"` from Google Analytics JavaScript. [#2190](https://github.com/mmistakes/minimal-mistakes/pull/2190) - Update links and fix typos in documentation. [#2186](https://github.com/mmistakes/minimal-mistakes/pull/2186) - Add skip links. [#2182](https://github.com/mmistakes/minimal-mistakes/issues/2182) diff --git a/assets/js/lunr/lunr-en.js b/assets/js/lunr/lunr-en.js index 5ecfe13bab50..5a5814f338fa 100644 --- a/assets/js/lunr/lunr-en.js +++ b/assets/js/lunr/lunr-en.js @@ -22,8 +22,6 @@ var idx = lunr(function () { } }); -console.log( jQuery.type(idx) ); - $(document).ready(function() { $('input#search').on('keyup', function () { var resultdiv = $('#results'); diff --git a/assets/js/lunr/lunr-gr.js b/assets/js/lunr/lunr-gr.js index bdde6a7ac367..eb4daaef2394 100644 --- a/assets/js/lunr/lunr-gr.js +++ b/assets/js/lunr/lunr-gr.js @@ -475,8 +475,6 @@ var idx = lunr(function () { } }); -console.log( jQuery.type(idx) ); - $(document).ready(function() { $('input#search').on('keyup', function () { var resultdiv = $('#results'); diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 725b290fe78c..e9c3e53f7014 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -13,6 +13,7 @@ toc: false ### Enhancements +- Remove unecessary console.log in `lunr-en.js` and `lunr-gr.js` JavaScript. [#2193](https://github.com/mmistakes/minimal-mistakes/issues/2193) - Remove unecessary `type="text/javascript"` from Google Analytics JavaScript. [#2190](https://github.com/mmistakes/minimal-mistakes/pull/2190) - Update links and fix typos in documentation. [#2186](https://github.com/mmistakes/minimal-mistakes/pull/2186) - Add skip links. [#2182](https://github.com/mmistakes/minimal-mistakes/issues/2182) diff --git a/test/_config.yml b/test/_config.yml index 7ac3e8ad1494..3609159deb78 100644 --- a/test/_config.yml +++ b/test/_config.yml @@ -57,7 +57,7 @@ atom_feed: path : # blank (default) uses feed.xml search : true # true, false (default) search_full_content : true # true, false (default) -search_provider : "algolia" +search_provider : "lunr" algolia: application_id : "QB6HVGBSBA" index_name : "dev_minimal-mistakes"