diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index a382c799a..22a28b53f 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1808,7 +1808,7 @@ const MessageTray = new Lang.Class({ // We wait just a little before hiding the message tray in case the user quickly moves the mouse back into it. // We wait for a longer period if the notification popped up where the mouse pointer was already positioned. // That gives the user more time to mouse away from the notification and mouse back in in order to expand it. - let timeout = this._useLongerHideTimeout ? LONGER_HIDE_TIMEOUT * 1000 : HIDE_TIMEOUT * 1000; + let timeout = this._useLongerTrayLeftTimeout ? LONGER_HIDE_TIMEOUT * 1000 : HIDE_TIMEOUT * 1000; this._trayLeftTimeoutId = Mainloop.timeout_add(timeout, Lang.bind(this, this._onTrayLeftTimeout)); } },