forked from mirror/MrDoc
优化文档搜索高亮词渲染逻辑
This commit is contained in:
parent
1f81f60bfa
commit
e7cf4eadbc
@ -449,7 +449,9 @@
|
||||
});
|
||||
// 高亮搜索词
|
||||
{% if doc.editor_mode != 2 %}
|
||||
keyLight('doc-content',getQueryVariable("highlight"))
|
||||
setTimeout(function(){
|
||||
keyLight('doc-content',getQueryVariable("highlight"))
|
||||
},1000)
|
||||
{% endif %}
|
||||
</script>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user