Fix error, that occurs, when the extension is disabled while a notification is shown.

master
Jens Lody 8 years ago
parent 892652b9cb
commit 71c6453ae5
  1. 2
      src/extension.js

@ -625,7 +625,7 @@ function disable() {
if (!versionAtLeast('3.16', Config.PACKAGE_VERSION)) { if (!versionAtLeast('3.16', Config.PACKAGE_VERSION)) {
// remove our (inline-)style, in case we just show a notification, otherwise the radius is drawn incorrect // remove our (inline-)style, in case we just show a notification, otherwise the radius is drawn incorrect
if (Main.messageTray._notification) if (Main.messageTray._notification)
Main.messageTray._notification.set_style('border-radius:;'); Main.messageTray._notification._table.set_style('border-radius:;');
Main.messageTray._onNotificationExpanded = originalExpandMethod; Main.messageTray._onNotificationExpanded = originalExpandMethod;
} }
} }

Loading…
Cancel
Save