FIX: Disable buttons when loading more results on full page search.
Follow up to d50deac676
.
This commit is contained in:
parent
f0f1e878fe
commit
8d1709f6b9
|
@ -5,7 +5,7 @@
|
||||||
{{#unless site.mobileView}}
|
{{#unless site.mobileView}}
|
||||||
<div class="search-bar">
|
<div class="search-bar">
|
||||||
{{search-text-field value=searchTerm class="full-page-search search no-blur search-query" enter=(action "search") hasAutofocus=hasAutofocus}}
|
{{search-text-field value=searchTerm class="full-page-search search no-blur search-query" enter=(action "search") hasAutofocus=hasAutofocus}}
|
||||||
{{d-button action=(action "search") icon="search" class="btn-primary search-cta" disabled=searching}}
|
{{d-button action=(action "search") icon="search" class="btn-primary search-cta" disabled=searchButtonDisabled}}
|
||||||
</div>
|
</div>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
{{#if site.mobileView}}
|
{{#if site.mobileView}}
|
||||||
<div class="search-bar">
|
<div class="search-bar">
|
||||||
{{search-text-field value=searchTerm class="full-page-search search no-blur search-query" enter=(action "search") hasAutofocus=hasAutofocus}}
|
{{search-text-field value=searchTerm class="full-page-search search no-blur search-query" enter=(action "search") hasAutofocus=hasAutofocus}}
|
||||||
{{d-button action=(action "search") icon="search" class="btn-primary search-cta" disabled=searching}}
|
{{d-button action=(action "search") icon="search" class="btn-primary search-cta" disabled=searchButtonDisabled}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@
|
||||||
action=(action "search")
|
action=(action "search")
|
||||||
icon="search"
|
icon="search"
|
||||||
class="btn-primary search-cta"
|
class="btn-primary search-cta"
|
||||||
disabled=searching}}
|
disabled=searchButtonDisabled}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue