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']
|
when Conf['Open settings']
|
||||||
Settings.open()
|
Settings.open()
|
||||||
when Conf['Close']
|
when Conf['Close']
|
||||||
if $.id 'fourchanx-settings'
|
if Settings.dialog
|
||||||
Settings.close()
|
Settings.close()
|
||||||
else if (notifications = $$ '.notification').length
|
else if (notifications = $$ '.notification').length
|
||||||
for notification in notifications
|
for notification in notifications
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user