Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

pull/1/head
ansuz 2017-10-23 14:53:42 +02:00
commit 6db5a34323
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ define([
var allFiles = files[FILES_DATA];
var sorted = Object.keys(allFiles).filter(function (a) { return allFiles[a]; })
.sort(function (a,b) {
return allFiles[a].atime < allFiles[b].atime;
return allFiles[b].atime - allFiles[a].atime;
})
.map(function (str) { return Number(str); });
return sorted;