Skip to content

Commit 29ef38f

Browse files
authored
Merge pull request #180 from dynamsoft-docs/preview
delete comments
2 parents 5b90b88 + 049a9e4 commit 29ef38f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_includes/search-input.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@
3131
indexName: '{{site.searchIndexName}}',
3232
searchClient: algoliasearch('989MTMK88E', '68565cc874554161b1842b2364287be7'),
3333
searchFunction(helper) {
34-
// 如果搜索框为空,不触发搜索
3534
const query = helper.state.query;
3635
if (!query) {
37-
return; // 不发送搜索请求
36+
return;
3837
}
3938
helper.search();
4039
}

0 commit comments

Comments
 (0)