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 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;
}
/**