Fixed disappearing version selector when hiding page title
This commit is contained in:
parent
d52b04b7ff
commit
08fd86935b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -245,7 +245,7 @@
|
|||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.50899def.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.eef24d18.min.js' | url }}"></script>
|
||||
{% for script in config.extra_javascript %}
|
||||
{{ script | script_tag }}
|
||||
{% endfor %}
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ export function watchHeaderTitle(
|
|||
map(({ offset: { y } }) => {
|
||||
const { height } = getElementSize(el)
|
||||
return {
|
||||
active: y >= height
|
||||
active: height > 0 && y >= height
|
||||
}
|
||||
}),
|
||||
distinctUntilKeyChanged("active")
|
||||
|
|
|
|||
Loading…
Reference in New Issue