From 71c6453ae5f56968853cf67828ac83fa270ee821 Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sun, 14 Aug 2016 14:12:37 +0200 Subject: [PATCH] Fix error, that occurs, when the extension is disabled while a notification is shown. --- src/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.js b/src/extension.js index 0f6b923..73654b2 100644 --- a/src/extension.js +++ b/src/extension.js @@ -625,7 +625,7 @@ function disable() { if (!versionAtLeast('3.16', Config.PACKAGE_VERSION)) { // remove our (inline-)style, in case we just show a notification, otherwise the radius is drawn incorrect if (Main.messageTray._notification) - Main.messageTray._notification.set_style('border-radius:;'); + Main.messageTray._notification._table.set_style('border-radius:;'); Main.messageTray._onNotificationExpanded = originalExpandMethod; } }