summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-28 10:09:19 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-28 10:09:19 +0200
commitd0f616c6e04560a2f6a90b39b3d1d4391b327c74 (patch)
tree6cb1ee81cc17f64a742215c4d1ce0f15c90ee881 /program/js/list.js
parent399db1b647e14947e97a865c09215969f56a7efe (diff)
Fix messages list focus issue in Internet Explorer (#1489058)
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index a5f1c3f5b..c6b0d3fb8 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -231,7 +231,8 @@ focus: function(e)
// Un-focus already focused elements (#1487123, #1487316, #1488600, #1488620)
$(':focus:not(body)').blur();
- $('iframe').each(function() { this.blur(); });
+ // un-focus iframe bodies (#1489058), this doesn't work in Opera and Chrome
+ $('iframe').contents().find('body').blur();
if (e || (e = window.event))
rcube_event.cancel(e);