mirror of
https://github.com/thumbsup/thumbsup
synced 2024-11-03 15:40:14 +00:00
Rename album sorting function for clarity (they don't take a raw File, but a Media object)
This commit is contained in:
parent
fb77791c80
commit
9c78c1cd79
@ -13,8 +13,8 @@ var SORT_ALBUMS_BY = {
|
||||
}
|
||||
|
||||
var SORT_MEDIA_BY = {
|
||||
'filename': function (file) { return file.filename },
|
||||
'date': function (file) { return file.date }
|
||||
'filename': function (media) { return media.filename },
|
||||
'date': function (media) { return media.date }
|
||||
}
|
||||
|
||||
var PREVIEW_MISSING = {
|
||||
|
Loading…
Reference in New Issue
Block a user