mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server: Allow pressing v to read the book from the book details page
Fixes #1920910 [[Enhancement - Content server] Add ability to View book from the Book details page by clicking Enter](https://bugs.launchpad.net/calibre/+bug/1920910)
This commit is contained in:
parent
d902ed2646
commit
1d6694b04f
@ -720,6 +720,8 @@ def onkeydown(container_id, close_action, ev):
|
||||
elif ev.key is 'Delete':
|
||||
ev.preventDefault(), ev.stopPropagation()
|
||||
delete_book()
|
||||
elif ev.key is 'v' or ev.key is 'V':
|
||||
read_book(render_book.book_id)
|
||||
|
||||
|
||||
def init(container_id):
|
||||
|
Loading…
x
Reference in New Issue
Block a user