mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[feature] key bindings: left & right arrow are always on
This commit is contained in:
parent
b189578b6b
commit
e6b160da62
2 changed files with 47 additions and 15 deletions
|
|
@ -74,6 +74,10 @@
|
|||
searxng.scrollPageToSelected();
|
||||
}
|
||||
|
||||
searxng.isDetailOpened = function () {
|
||||
return d.getElementById('results').classList.contains('image-detail-open');
|
||||
}
|
||||
|
||||
searxng.closeDetail = function (e) {
|
||||
d.getElementById('results').classList.remove('image-detail-open');
|
||||
searxng.scrollPageToSelected();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue