summaryrefslogtreecommitdiff
path: root/program
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:53:33 +0200
commit3c7346a40b2aefb3b2178516868dc9dca1adfe88 (patch)
tree4913eb79a00dace1d47e2738e50e284e8a73665e /program
parent2c59937c6af621f16fd31e9ce6ac01b25151bda5 (diff)
Fix focus on the list when list row is clicked (#1488600)
Diffstat (limited to 'program')
-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 b194721f4..e84124b7c 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -232,7 +232,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))