mirror of https://github.com/searxng/searxng
Fix not jumping to results loaded by infinite scroll
Infinite scroll adds a `hr` tag to split up the sections loaded by it. The vim bindings `j` and `k`, which jump to the next and previous result respectively, search for a **direct** sibling with the class `result`. With the `hr` between results a direct sibling cannot be found. To fix this we remove the restriction of it having to be a direct sibling.pull/1/head
parent
fb6ff5afcb
commit
0ae86cd168
Loading…
Reference in New Issue