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>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% 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 %}
|
{% for script in config.extra_javascript %}
|
||||||
{{ script | script_tag }}
|
{{ script | script_tag }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ export function watchHeaderTitle(
|
||||||
map(({ offset: { y } }) => {
|
map(({ offset: { y } }) => {
|
||||||
const { height } = getElementSize(el)
|
const { height } = getElementSize(el)
|
||||||
return {
|
return {
|
||||||
active: y >= height
|
active: height > 0 && y >= height
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
distinctUntilKeyChanged("active")
|
distinctUntilKeyChanged("active")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue