From b7bf2f7d7db1a09d4e4889f3f93367149df0642d Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 20 Jul 2018 21:12:40 +0200 Subject: [PATCH] Fix ability to open file or folder via keyboard, fix #10008 Signed-off-by: Jan-Christoph Borchardt --- apps/files/js/filelist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 18872568ab54b..1f207a2f72cb3 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -678,7 +678,7 @@ this.updateSelectionSummary(); } else { // clicked directly on the name - if (!this._detailsView || $(event.target).is('.nametext') || $(event.target).closest('.nametext').length) { + if (!this._detailsView || $(event.target).is('.nametext, .name') || $(event.target).closest('.nametext').length) { var filename = $tr.attr('data-file'); var renaming = $tr.data('renaming'); if (!renaming) {