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:
parent
34daee58e7
commit
1d0971b72e
|
@ -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 New Issue