mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed broken link after history change
This commit is contained in:
parent
f8b6b0e40c
commit
00ad2d74d6
File diff suppressed because one or more lines are too long
1
material/assets/javascripts/bundle.dd105161.min.js.map
Normal file
1
material/assets/javascripts/bundle.dd105161.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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +1,10 @@
|
||||
{
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.fc6b13cf.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.fc6b13cf.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.c1fcc1cc.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.c1fcc1cc.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.3bc815f0.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.3bc815f0.min.js.map",
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.dd105161.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.dd105161.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.5b460a48.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.5b460a48.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.7f7c8775.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.7f7c8775.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.7584781b.min.css",
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.4444686e.min.css"
|
||||
}
|
@ -178,8 +178,8 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/vendor.c1fcc1cc.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.fc6b13cf.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/vendor.5b460a48.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.dd105161.min.js' | url }}"></script>
|
||||
{%- set translations = {} -%}
|
||||
{%- for key in [
|
||||
"clipboard.copy",
|
||||
@ -203,7 +203,7 @@
|
||||
base: "{{ base_url }}",
|
||||
features: {{ config.theme.features | tojson }},
|
||||
search: Object.assign({
|
||||
worker: "{{ 'assets/javascripts/worker/search.3bc815f0.min.js' | url }}"
|
||||
worker: "{{ 'assets/javascripts/worker/search.7f7c8775.min.js' | url }}"
|
||||
}, typeof search !== "undefined" && search)
|
||||
})
|
||||
</script>
|
||||
|
@ -145,7 +145,6 @@ export function setupInstantLoading(
|
||||
/* Filter state changes to dispatch */
|
||||
const push$ = state$
|
||||
.pipe(
|
||||
distinctUntilChanged((prev, next) => prev.url.href === next.url.href),
|
||||
filter(({ url }) => !isAnchorLocation(url)),
|
||||
share()
|
||||
)
|
||||
@ -164,6 +163,7 @@ export function setupInstantLoading(
|
||||
/* Emit location change */
|
||||
merge(push$, pop$)
|
||||
.pipe(
|
||||
distinctUntilChanged((prev, next) => prev.url.href === next.url.href),
|
||||
pluck("url")
|
||||
)
|
||||
.subscribe(location$)
|
||||
|
Loading…
Reference in New Issue
Block a user