mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
html is anyway ignored in copy_selection
This commit is contained in:
parent
87629e32a7
commit
9c1e6ccb03
@ -84,7 +84,6 @@ class ReadUI:
|
||||
ui_operations.open_url = def(url):
|
||||
window.open(url, '_blank')
|
||||
ui_operations.copy_selection = def(text, html):
|
||||
if not html:
|
||||
# try using document.execCommand which on chrome allows the
|
||||
# copy on non-secure origin if this is close to a user
|
||||
# interaction event
|
||||
|
Loading…
x
Reference in New Issue
Block a user