diff options
author | Artur Signell <artur@vaadin.com> | 2013-01-21 21:47:40 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-02-01 12:30:43 +0200 |
commit | 9c6f83505896145c6d84534c610720ede83993e0 (patch) | |
tree | bef79aea532334b89d10f27a0bc6e6a2ca40e2be | |
parent | 2aeb5189d3bcc09cd5376d7768da6e4c5a5cd6e2 (diff) | |
download | vaadin-framework-9c6f83505896145c6d84534c610720ede83993e0.tar.gz vaadin-framework-9c6f83505896145c6d84534c610720ede83993e0.zip |
Removed Opera 9 workaround which is no longer needed but does not work correctly (#5310)
Change-Id: I95c60b68d6fba55cd4034b4c474171d973cdf0d7
-rw-r--r-- | client/src/com/vaadin/client/ui/VNotification.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/client/src/com/vaadin/client/ui/VNotification.java b/client/src/com/vaadin/client/ui/VNotification.java index e67bde47dd..7019394e3b 100644 --- a/client/src/com/vaadin/client/ui/VNotification.java +++ b/client/src/com/vaadin/client/ui/VNotification.java @@ -215,13 +215,6 @@ public class VNotification extends VOverlay { if (opacity <= 0) { cancel(); hide(); - if (BrowserInfo.get().isOpera()) { - // tray notification on opera needs to explicitly - // define - // size, reset it - DOM.setStyleAttribute(getElement(), "width", ""); - DOM.setStyleAttribute(getElement(), "height", ""); - } } else { setOpacity(getElement(), opacity); } @@ -248,11 +241,6 @@ public class VNotification extends VOverlay { break; case BOTTOM_RIGHT: DOM.setStyleAttribute(el, "position", "absolute"); - if (BrowserInfo.get().isOpera()) { - // tray notification on opera needs explicitly defined size - DOM.setStyleAttribute(el, "width", getOffsetWidth() + "px"); - DOM.setStyleAttribute(el, "height", getOffsetHeight() + "px"); - } DOM.setStyleAttribute(el, "bottom", "0px"); DOM.setStyleAttribute(el, "right", "0px"); break; |