mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed #1696: infinite loop when using instant loading
This commit is contained in:
parent
b775328cd9
commit
900c113e59
File diff suppressed because one or more lines are too long
1
material/assets/javascripts/bundle.4e2bfc5d.min.js.map
Normal file
1
material/assets/javascripts/bundle.4e2bfc5d.min.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.8566d47a.min.js",
|
"assets/javascripts/bundle.js": "assets/javascripts/bundle.4e2bfc5d.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.8566d47a.min.js.map",
|
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.4e2bfc5d.min.js.map",
|
||||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.809e24aa.min.js",
|
"assets/javascripts/vendor.js": "assets/javascripts/vendor.809e24aa.min.js",
|
||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.809e24aa.min.js.map",
|
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.809e24aa.min.js.map",
|
||||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.f6ebf1dc.min.js",
|
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.f6ebf1dc.min.js",
|
||||||
|
@ -179,7 +179,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/vendor.809e24aa.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/vendor.809e24aa.min.js' | url }}"></script>
|
||||||
<script src="{{ 'assets/javascripts/bundle.8566d47a.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.4e2bfc5d.min.js' | url }}"></script>
|
||||||
{%- set translations = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
"clipboard.copy",
|
"clipboard.copy",
|
||||||
|
@ -383,6 +383,9 @@ export function initialize(config: unknown) {
|
|||||||
|
|
||||||
/* Determine common prefix */
|
/* Determine common prefix */
|
||||||
let index = 0
|
let index = 0
|
||||||
|
if (a === b)
|
||||||
|
index = a.length
|
||||||
|
else
|
||||||
while (a.charAt(index) === b.charAt(index))
|
while (a.charAt(index) === b.charAt(index))
|
||||||
index++
|
index++
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user