summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-11 21:53:33 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-11 21:54:18 +0200
commite15fef24d5f82b0e69c85b5c3fbc5f5ce66516df (patch)
tree8d3c81370c15ea849bc60987c2dd0f7f5f7777fc /program/js
parent002d1a44e4065b89602dd293551d59c66845fd52 (diff)
Fix focus on the list when list row is clicked (#1488600)
Diffstat (limited to 'program/js')
-rw-r--r--program/js/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 9f5ae3c65..0b640c74b 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -234,7 +234,7 @@ focus: function(e)
}
// Un-focus already focused elements
- $('*:focus', window).blur();
+ $(document.activeElement).blur();
$('iframe').each(function() { this.blur(); });
if (e || (e = window.event))