]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed Opera 9 workaround which is no longer needed but does not work correctly...
authorArtur Signell <artur@vaadin.com>
Mon, 21 Jan 2013 19:47:40 +0000 (21:47 +0200)
committerArtur Signell <artur@vaadin.com>
Fri, 1 Feb 2013 10:30:43 +0000 (12:30 +0200)
Change-Id: I95c60b68d6fba55cd4034b4c474171d973cdf0d7

client/src/com/vaadin/client/ui/VNotification.java

index e67bde47dd787baafcbf08c701bfd9dae4976283..7019394e3ba136b86defab9a168f306483db3b6b 100644 (file)
@@ -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;