mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-24 22:33:16 +00:00
trying to show the conditional nicely aligned
This commit is contained in:
parent
8a3991a619
commit
e9bdf6f542
|
@ -321,7 +321,7 @@ exports.sortTiddlers = function(titles,sortField,isDescending,isCaseSensitive,is
|
||||||
var result =
|
var result =
|
||||||
isNaN(x) && !isNaN(y) ? (isDescending ? -1 : 1) :
|
isNaN(x) && !isNaN(y) ? (isDescending ? -1 : 1) :
|
||||||
!isNaN(x) && isNaN(y) ? (isDescending ? 1 : -1) :
|
!isNaN(x) && isNaN(y) ? (isDescending ? 1 : -1) :
|
||||||
(isDescending ? y - x : x - y);
|
(isDescending ? y - x : x - y);
|
||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
if(sortField !== "title") {
|
if(sortField !== "title") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user