mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue