Fix middle click on breadcrumb

This commit is contained in:
Vincent Petry 2015-03-24 22:05:02 +01:00
parent cc2092a511
commit 2b8ef3aca9

View file

@ -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();
},
/**