Fix middle click on breadcrumb
This commit is contained in:
parent
cc2092a511
commit
2b8ef3aca9
1 changed files with 2 additions and 2 deletions
|
@ -466,11 +466,11 @@
|
|||
var $el = $(e.target).closest('.crumb'),
|
||||
$targetDir = $el.data('dir');
|
||||
|
||||
if ($targetDir !== undefined) {
|
||||
if ($targetDir !== undefined && e.which === 1) {
|
||||
e.preventDefault();
|
||||
this.changeDirectory($targetDir);
|
||||
this.updateSearch();
|
||||
}
|
||||
this.updateSearch();
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue