Change filelist _onClickFile function so thumbnail to open the file instead of the sidebar

Signed-off-by: Greta Doci <gretadoci@gmail.com>
This commit is contained in:
Greta Doci 2019-09-02 15:11:52 +02:00 committed by Backportbot
parent 34daee58e7
commit 1d0971b72e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {