1
0
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:
Jermolene
2014-01-03 10:50:00 +00:00
parent 8fc5c1d4a0
commit 1a74e2538c
6 changed files with 8 additions and 8 deletions

View File

@@ -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();