mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-29 12:52:10 -04:00
Content server: Fix a regression that broke scrolling in the server in 4.11. Fixes #1864263 [Content server new scrolling issues with 4.11.1](https://bugs.launchpad.net/calibre/+bug/1864263)
This commit is contained in:
parent
c7b8bd30e8
commit
07201fc280
@ -67,9 +67,7 @@ def init_ui():
|
||||
install(translations)
|
||||
remove_initial_progress_bar()
|
||||
document.head.appendChild(E.style(get_widget_css()))
|
||||
# See https://github.com/kovidgoyal/calibre/pull/1101
|
||||
# for why we need touch-action: none
|
||||
set_css(document.body, background_color=get_color('window-background'), color=get_color('window-foreground'), touch_action='none')
|
||||
set_css(document.body, background_color=get_color('window-background'), color=get_color('window-foreground'))
|
||||
document.body.appendChild(E.div())
|
||||
document.body.lastChild.appendChild(E.div(id=book_list_container_id, style='display: none'))
|
||||
document.body.lastChild.appendChild(E.div(id=read_book_container_id, style='display: none'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user