From d40301492dc47f8776bd20792a2523637c02e838 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 15 Jan 2015 18:08:36 +0100 Subject: [PATCH] Auto-blur when clicking on file to download --- apps/files/js/filelist.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 1d7252220b..f28c24fda8 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -369,6 +369,8 @@ dir: $tr.attr('data-path') || this.getCurrentDirectory() }); } + // deselect row + $(event.target).closest('a').blur(); } } },