diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 84d1f4b91e..c3bf243f42 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -825,7 +825,7 @@ this.updateSelectionSummary(); } else { // clicked directly on the name - if (!this._detailsView || $(event.target).is('.nametext, .name') || $(event.target).closest('.nametext').length) { + if (!this._detailsView || $(event.target).is('.nametext, .name, .thumbnail') || $(event.target).closest('.nametext').length) { var filename = $tr.attr('data-file'); var renaming = $tr.data('renaming'); if (!renaming) {