diff options
author | Artur Signell <artur@vaadin.com> | 2013-02-01 13:04:50 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-02-01 13:05:12 +0200 |
commit | 6291b3939cc0948622eb3b0dd1d25728514538da (patch) | |
tree | 1dd8aeac360e6188dacef808210be6d4a69e9336 | |
parent | 5be248803b9b670cd4cf24d5173e7f580180545e (diff) | |
parent | 9c6f83505896145c6d84534c610720ede83993e0 (diff) | |
download | vaadin-framework-6291b3939cc0948622eb3b0dd1d25728514538da.tar.gz vaadin-framework-6291b3939cc0948622eb3b0dd1d25728514538da.zip |
Merge branch '7.0'
Change-Id: Ie463ba65a7b77b04332eeb791d2903893c65facf
-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; |