mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed auto-closing print dialog when using instant loading
This commit is contained in:
parent
fccb77a21a
commit
e3c608ace6
2
material/assets/javascripts/bundle.994580cf.min.js
vendored
Normal file
2
material/assets/javascripts/bundle.994580cf.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/javascripts/bundle.994580cf.min.js.map
Normal file
1
material/assets/javascripts/bundle.994580cf.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
1
material/assets/javascripts/vendor.18f0862e.min.js.map
Normal file
1
material/assets/javascripts/vendor.18f0862e.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,8 +1,8 @@
|
||||
{
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.e9c9f54f.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.e9c9f54f.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.53cc9318.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.53cc9318.min.js.map",
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.994580cf.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.994580cf.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.18f0862e.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.18f0862e.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.9c0e82ba.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.9c0e82ba.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.cb6bc1d0.min.css",
|
||||
|
@ -184,8 +184,8 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/vendor.53cc9318.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.e9c9f54f.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/vendor.18f0862e.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.994580cf.min.js' | url }}"></script>
|
||||
{%- set translations = {} -%}
|
||||
{%- for key in [
|
||||
"clipboard.copy",
|
||||
|
@ -32,6 +32,7 @@ import {
|
||||
sample,
|
||||
share,
|
||||
skip,
|
||||
skipUntil,
|
||||
switchMap
|
||||
} from "rxjs/operators"
|
||||
|
||||
@ -250,6 +251,7 @@ export function setupInstantLoading(
|
||||
/* Debounce update of viewport offset */
|
||||
viewport$
|
||||
.pipe(
|
||||
skipUntil(push$),
|
||||
debounceTime(250),
|
||||
distinctUntilKeyChanged("offset")
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user