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
This commit is contained in:
commit
1b8ae61b7c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue