From 94f29bc495083acdd545542deb6dc63c40e8aa55 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 17 Apr 2013 00:14:49 +0200 Subject: [PATCH] No need to search for the settings dialog when closing via keybind. --- src/features.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features.coffee b/src/features.coffee index fc8fced97..fbc45b7ed 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -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