summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
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;
}
/**