fix(search): incorrect anchor link, fixed #90

This commit is contained in:
qingwei.li 2017-02-22 21:38:02 +08:00 committed by cinwell.li
commit b8a3d8f380
5 changed files with 9 additions and 7 deletions

View file

@ -107,7 +107,7 @@ function bindEvents () {
e => e.target.tagName !== 'A' && e.stopPropagation())
dom.on($input, 'input', e => {
clearTimeout(timeId)
timeId = setTimeout(_ => doSearch(e.target.value.trim()), 200)
timeId = setTimeout(_ => doSearch(e.target.value.trim()), 100)
})
}