mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
8be3b5c88a
commit
2246053e3a
@ -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…
x
Reference in New Issue
Block a user