Fixed open details always closed on initial load

This commit is contained in:
squidfunk 2021-12-06 23:22:02 +01:00
parent 4be2ab283c
commit accfc4ff87
4 changed files with 5 additions and 5 deletions

View File

@ -213,7 +213,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.eb994cec.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.ceb052b1.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}

View File

@ -81,7 +81,7 @@ interface MountOptions {
export function watchDetails(
el: HTMLDetailsElement, { target$, print$ }: WatchOptions
): Observable<Details> {
let open = false
let open = true
return merge(
/* Open and focus details on location target */