1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Upgraded Lunr.js to fix search bug in Safarai

This commit is contained in:
squidfunk 2018-11-17 17:39:59 +01:00
parent 226cb9f4d9
commit 09f979c32c
5 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
mkdocs-material-3.1.0 (2018-11-17)
* Fixed #915: Search bug in Safari (upgraded Lunr.js)
mkdocs-material-3.0.6 (2018-10-26)
* Added Taiwanese translations

View File

@ -180,7 +180,7 @@
{% endblock %}
</div>
{% block scripts %}
<script src="{{ 'assets/javascripts/application.627ea402.js' | url }}"></script>
<script src="{{ 'assets/javascripts/application.8da0bdd4.js' | url }}"></script>
{% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %}

8
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "mkdocs-material",
"version": "3.0.3",
"version": "3.0.6",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -8406,9 +8406,9 @@
}
},
"lunr": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/lunr/-/lunr-2.1.5.tgz",
"integrity": "sha512-5Q8Q5Lu88qkQ7vwKyQXistAtgPHI+Ynmu796Od6/hTuFp3JLcQqftsRDAcu9eorzerl6xPKuH7KMhaxx0neYVQ==",
"version": "2.3.5",
"resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.5.tgz",
"integrity": "sha512-EtnfmHsHJTr3u24sito9JctSxej5Ds0SgUD2Lm+qRHyLgM7BGesFlW14eNh1mil0fV5Muh8gf3dBBXzADlUlzQ==",
"dev": true
},
"lunr-languages": {

View File

@ -58,7 +58,7 @@
"html-minifier": "^3.5.6",
"imagemin-webpack-plugin": "^2.0.0",
"js-cookie": "^2.1.4",
"lunr": "^2.1.2",
"lunr": "^2.3.5",
"lunr-languages": "^1.0.0",
"material-design-color": "^2.3.2",
"material-shadows": "^3.0.1",