mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 06:43:11 +02:00
...
This commit is contained in:
parent
8be3b5c88a
commit
2246053e3a
1 changed files with 2 additions and 1 deletions
|
|
@ -60,7 +60,8 @@ def show_popup(popup_id, associated_widget_ids=None):
|
|||
|
||||
def hide_popup(popup_id):
|
||||
elem = document.getElementById(popup_id)
|
||||
elem.style.display = 'none'
|
||||
if elem:
|
||||
elem.style.display = 'none'
|
||||
v'delete associated_widgets[popup_id]'
|
||||
|
||||
class CompletionPopup:
|
||||
|
|
|
|||
Loading…
Reference in a new issue