FIX: Disable buttons when loading more results on full page search.

Follow up to d50deac676.
This commit is contained in:
Guo Xiang Tan 2019-03-20 17:20:34 +08:00
parent f0f1e878fe
commit 8d1709f6b9
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
{{#unless site.mobileView}}
<div class="search-bar">
{{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>
{{/unless}}
@ -168,7 +168,7 @@
{{#if site.mobileView}}
<div class="search-bar">
{{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>
{{/if}}
@ -197,7 +197,7 @@
action=(action "search")
icon="search"
class="btn-primary search-cta"
disabled=searching}}
disabled=searchButtonDisabled}}
</div>
{{/if}}
</div>