Skip to content

Commit 1b8ae61

Browse files
authored
Merge pull request #17091 from nextcloud/backport/16969/stable16
[stable16] When you click on thumbnail of a file, it should open the file not the sidebar
2 parents 372307a + 1d0971b commit 1b8ae61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files/js/filelist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@
825825
this.updateSelectionSummary();
826826
} else {
827827
// clicked directly on the name
828-
if (!this._detailsView || $(event.target).is('.nametext, .name') || $(event.target).closest('.nametext').length) {
828+
if (!this._detailsView || $(event.target).is('.nametext, .name, .thumbnail') || $(event.target).closest('.nametext').length) {
829829
var filename = $tr.attr('data-file');
830830
var renaming = $tr.data('renaming');
831831
if (!renaming) {

0 commit comments

Comments
 (0)