From 3ebcc29ee35b9015686153d818c71495c5123fe1 Mon Sep 17 00:00:00 2001 From: Remco Brenninkmeijer Date: Thu, 17 Jul 2014 21:31:54 +0200 Subject: Before I get spanked ;) --- apps/files/js/filelist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 5726dd1b294..a00e2f63c42 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -369,7 +369,7 @@ this.setSort(sort, (this._sortDirection === 'desc')?'asc':'desc'); } else { - if ( sort === 'name' ) { //default sorting of name is opposite to size and mtime + if ( sort === 'name' ) { //default sorting of name is opposite to size and mtime this.setSort(sort, 'asc'); } else { -- cgit v1.2.3