mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-25 04:37:40 +00:00
Cleaning up further coding style inconsistencies that have crept in
This commit is contained in:
@@ -312,7 +312,7 @@ exports.sortTiddlers = function(titles,sortField,isDescending,isCaseSensitive,is
|
||||
a = self.getTiddler(a).fields[sortField] || "";
|
||||
b = self.getTiddler(b).fields[sortField] || "";
|
||||
}
|
||||
if (!isNumeric || isNaN(a) || isNaN(b)) {
|
||||
if(!isNumeric || isNaN(a) || isNaN(b)) {
|
||||
if(!isCaseSensitive) {
|
||||
if(typeof a === "string") {
|
||||
a = a.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user