Skip to content

Commit b4e7b21

Browse files
authored
Update component.js
fix bug #1098
1 parent d32d91b commit b4e7b21

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/plugins/search/component.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ function bindEvents() {
171171

172172
let timeId;
173173
// Prevent to Fold sidebar
174-
Docsify.dom.on(
175-
$search,
176-
'click',
177-
e => e.target.tagName !== 'A' && e.stopPropagation()
178-
);
174+
// Docsify.dom.on(
175+
// $search,
176+
// 'click',
177+
// e => e.target.tagName !== 'A' && e.stopPropagation()
178+
// );
179179
Docsify.dom.on($input, 'input', e => {
180180
clearTimeout(timeId);
181181
timeId = setTimeout(_ => doSearch(e.target.value.trim()), 100);

0 commit comments

Comments
 (0)