Skip to content

Commit 260fbe1

Browse files
committed
fixing template lint
1 parent 602f383 commit 260fbe1

1 file changed

Lines changed: 36 additions & 36 deletions

File tree

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
{{#if searchFunction}}
2-
<input
3-
id='search-input'
4-
type='search'
5-
value={{value}}
6-
oninput={{perform search value='target.value'}}
7-
placeholder="Search the guides"
8-
autocomplete="off"
9-
>
2+
<input
3+
id="search-input"
4+
type="search"
5+
value={{value}}
6+
oninput={{perform search value="target.value"}}
7+
placeholder="Search the guides"
8+
autocomplete="off"
9+
>
1010

11-
{{!-- Search results dropdown --}}
12-
{{#ember-tether
13-
target='#search-input'
14-
targetAttachment='bottom right'
15-
attachment='top right'
16-
constraints=_resultTetherConstraints
17-
class='ds-dropdown-results'
18-
}}
19-
{{#if response.hits}}
20-
<span class="ds-suggestions ds-dropdown-menu">
21-
<div class="ds-suggestion">
22-
<div class="algolia-docsearch-suggestion algolia-docsearch-suggestion__main">
23-
<div class="algolia-docsearch-suggestion--category-header">
24-
<span class="algolia-docsearch-suggestion--category-header-lvl0">
11+
{{!-- Search results dropdown --}}
12+
{{#ember-tether
13+
target="#search-input"
14+
targetAttachment="bottom right"
15+
attachment="top right"
16+
constraints=_resultTetherConstraints
17+
class="ds-dropdown-results"
18+
}}
19+
{{#if response.hits}}
20+
<span class="ds-suggestions ds-dropdown-menu">
21+
<div class="ds-suggestion">
22+
<div class="algolia-docsearch-suggestion algolia-docsearch-suggestion__main">
23+
<div class="algolia-docsearch-suggestion--category-header">
24+
<span class="algolia-docsearch-suggestion--category-header-lvl0">
2525
Search Results
26-
</span>
26+
</span>
27+
</div>
28+
<div class="algolia-docsearch-suggestion--wrapper"></div>
2729
</div>
28-
<div class="algolia-docsearch-suggestion--wrapper"></div>
2930
</div>
30-
</div>
31-
{{#each response.hits as |result|}}
32-
{{search-result result=result}}
33-
{{/each}}
34-
<div class="powered-by-algolia">
35-
<a href="https://www.algolia.com/" target="_blank">
36-
<img src="/images/logos/search-by-algolia.svg" alt="Search Powered by Algolia">
37-
</a>
38-
</div>
39-
</span>
40-
{{/if}}
41-
{{/ember-tether}}
31+
{{#each response.hits as |result|}}
32+
{{search-result result=result}}
33+
{{/each}}
34+
<div class="powered-by-algolia">
35+
<a href="https://www.algolia.com/" target="_blank" rel="noopener">
36+
<img src="/images/logos/search-by-algolia.svg" alt="Search Powered by Algolia">
37+
</a>
38+
</div>
39+
</span>
40+
{{/if}}
41+
{{/ember-tether}}
4242
{{/if}}

0 commit comments

Comments
 (0)