summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
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 {