From 9eeabf79f9bdd90fcbf5c4baed2533159fecc2c3 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 11 Mar 2013 16:55:15 -0400 Subject: [PATCH] messageTray: Fix style https://bugzilla.gnome.org/show_bug.cgi?id=695659 --- js/ui/messageTray.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index be1bf4b63..83a0425a4 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2247,9 +2247,8 @@ const MessageTray = new Lang.Class({ let canShowNotification = notificationsPending && this._summaryState == State.HIDDEN; if (this._notificationState == State.HIDDEN) { - if (canShowNotification) { + if (canShowNotification) this._showNotification(); - } } else if (this._notificationState == State.SHOWN) { if (notificationMustClose) this._hideNotification();