mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Prevent duplication of controls help if shown multiple times in one session
This commit is contained in:
parent
e176f58ce8
commit
2967f13297
@ -87,6 +87,7 @@ def show_controls_help():
|
||||
window.setTimeout(focus, 10)
|
||||
|
||||
if runtime.is_standalone_viewer:
|
||||
clear(container)
|
||||
container.appendChild(E.div(
|
||||
style='margin: 1rem',
|
||||
E.div(style='margin-top: 1rem'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user