mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Fixed search preview
This commit is contained in:
1 parent
f894061175
commit
eb387ac3c3
1 file changed
+1
-1
@@ -456,7 +456,7 @@ window.addEventListener('load', () => {
|
||||
this.addEventToResult();
|
||||
},
|
||||
renderPreview() {
|
||||
const active = document.querySelector("li.active");
|
||||
const active = this.search.querySelector("li.active");
|
||||
if (active == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user