Skip to content

Commit

Permalink
Remove unecessary console.log in lunr-en.js and lunr-gr.js JavaSc…
Browse files Browse the repository at this point in the history
…ript

Close #2193
  • Loading branch information
mmistakes committed Jun 27, 2019
1 parent b5b8c45 commit dc99092
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions assets/js/lunr/lunr-en.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ var idx = lunr(function () {
}
});

console.log( jQuery.type(idx) );

$(document).ready(function() {
$('input#search').on('keyup', function () {
var resultdiv = $('#results');
Expand Down
2 changes: 0 additions & 2 deletions assets/js/lunr/lunr-gr.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,6 @@ var idx = lunr(function () {
}
});

console.log( jQuery.type(idx) );

$(document).ready(function() {
$('input#search').on('keyup', function () {
var resultdiv = $('#results');
Expand Down
1 change: 1 addition & 0 deletions docs/_docs/18-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dc99092

Please sign in to comment.