mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-22 17:47:19 +00:00
Use locale sort for shadows
For consistency and compatibility with non-shadow ordering
This commit is contained in:
parent
08bad90e51
commit
a6779efb1c
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user