summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-01-15 18:08:36 +0100
committerVincent Petry <pvince81@owncloud.com>2015-01-15 18:08:36 +0100
commitd40301492dc47f8776bd20792a2523637c02e838 (patch)
tree75491d5fa26bdf56a3893d59ee8d1df38d4e4a9c
parent7d81299014069e4a2dd87f985db1fa8e0084b48c (diff)
downloadnextcloud-server-d40301492dc47f8776bd20792a2523637c02e838.tar.gz
nextcloud-server-d40301492dc47f8776bd20792a2523637c02e838.zip
Auto-blur when clicking on file to download
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 1d7252220bf..f28c24fda87 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();
}
}
},