No need to search for the settings dialog when closing via keybind.
This commit is contained in:
parent
aebf540551
commit
94f29bc495
@ -1848,7 +1848,7 @@ Keybinds =
|
||||
when Conf['Open settings']
|
||||
Settings.open()
|
||||
when Conf['Close']
|
||||
if $.id 'fourchanx-settings'
|
||||
if Settings.dialog
|
||||
Settings.close()
|
||||
else if (notifications = $$ '.notification').length
|
||||
for notification in notifications
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user