mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 03:04:42 +02:00
Also remove soft hyphens from lookup words in the browser viewer
This commit is contained in:
parent
6fdc287ead
commit
5320035eff
1 changed files with 1 additions and 0 deletions
|
|
@ -132,6 +132,7 @@ def populate_list(container):
|
|||
|
||||
def create_word_actions_panel(container, word, close_panel_func):
|
||||
nonlocal current_data
|
||||
word = str.replace(word, '\u00ad', '')
|
||||
current_data = word, close_panel_func
|
||||
container.appendChild(E.div(style='display:none'))
|
||||
populate_list(container)
|
||||
|
|
|
|||
Loading…
Reference in a new issue