summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-05-31 13:30:23 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-05-31 13:31:20 +0200
commita2027101df54453a162b6a609bc85e5488ed7284 (patch)
treec81e7f4963cb5012a9427eb5b94bb61c0b480c17 /skins/larry/ui.js
parentf38ff4a19e689d4e7e10b5bcbf3c9348c6f3a3b4 (diff)
Fix window.resize handler on IE8 and Opera (#1488453)
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index b6383a8a3..b79391891 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -209,12 +209,8 @@ function rcube_mail_ui()
})
.contents().mouseup(body_mouseup);
- $(window).resize(function(e) {
- // check target due to bugs in jquery
- // http://bugs.jqueryui.com/ticket/7514
- // http://bugs.jquery.com/ticket/9841
- if (e.target == window) resize();
- });
+ // don't use $(window).resize() due to some unwanted side-effects
+ window.onresize = resize;
}
/**