Merge pull request #16969 from nextcloud/bugfix/14350/thumbnail_should_open_thefile_not_sidebar
When you click on thumbnail of a file, it should open the file not the sidebar
This commit is contained in:
commit
6093acd4f0
|
@ -828,7 +828,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 New Issue