mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 03:09:41 +08:00
修复搜索输入过快响应内容错误的问题
This commit is contained in:
parent
c899569066
commit
f3587a32ed
@ -30,7 +30,7 @@
|
|||||||
})
|
})
|
||||||
// 监听输入事件
|
// 监听输入事件
|
||||||
searchInput.addEventListener('input', function (event) {
|
searchInput.addEventListener('input', function (event) {
|
||||||
findResult(event.target.value)
|
findResult(searchInput.value)
|
||||||
})
|
})
|
||||||
|
|
||||||
function removeHTMLTags(str) {
|
function removeHTMLTags(str) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user