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:30:23 +0200
commit8ce602461821bfc4fb1c5b2d40fb7468d9c299c7 (patch)
tree52345bc07ca5f181acccdcf2eaad3eb31b240e0c /skins/larry/ui.js
parentde6876597453e42690070af12e82e1fac0ad1b04 (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 2e0f0dbc0..630008f7e 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -207,12 +207,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;
}
/**