mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-11-18 21:04:27 +00:00
Use locale sort for shadows
For consistency and compatibility with non-shadow ordering
This commit is contained in:
1 parent
08bad90e51
commit
a6779efb1c
1 file changed
+1
-1
+1
-1
@@ -1150,7 +1150,7 @@ $tw.Wiki = function(options) {
|
||||
shadowTiddlerTitles = null,
|
||||
getShadowTiddlerTitles = function() {
|
||||
if(!shadowTiddlerTitles) {
|
||||
shadowTiddlerTitles = Object.keys(shadowTiddlers).sort();
|
||||
shadowTiddlerTitles = Object.keys(shadowTiddlers).sort(function(a,b) {return a.localeCompare(b);});
|
||||
}
|
||||
return shadowTiddlerTitles;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user