From e15fef24d5f82b0e69c85b5c3fbc5f5ce66516df Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 11 Aug 2012 21:53:33 +0200 Subject: Fix focus on the list when list row is clicked (#1488600) --- program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js') 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)) -- cgit v1.2.3