diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 344ce3292f59e..f6699d5bf4aec 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1226,6 +1226,10 @@ if (this.$table.hasClass('multiselect')) { return; } + + // Ensure the url does not change + e.preventDefault(); + var $target = $(e.target); var sort; if (!$target.is('a')) {