commit
1c6e4a41e0
2 changed files with 25 additions and 1 deletions
|
|
@ -43,7 +43,8 @@ class DocSearch {
|
||||||
this.autocomplete = autocomplete(this.input, autocompleteOptions, [{
|
this.autocomplete = autocomplete(this.input, autocompleteOptions, [{
|
||||||
source: this.getSource(),
|
source: this.getSource(),
|
||||||
templates: {
|
templates: {
|
||||||
suggestion: this.getSuggestionTemplate()
|
suggestion: this.getSuggestionTemplate(),
|
||||||
|
footer: '<div class="ads-footer">Search by <a class="ads-footer--logo" href="https://www.algolia.com/docsearch">Algolia</a></div>'
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
this.autocomplete.on('autocomplete:selected', this.handleSelected);
|
this.autocomplete.on('autocomplete:selected', this.handleSelected);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue