summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/js/filelist.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 871c42ead89..f55e73b434b 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -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();
},
/**