mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-28 04:55:14 +00:00
Ensure shadow tiddler listings are always sorted
Currently shadow tiddler ordering depends upon the order in which the shadows appear in the plugin JSON
This commit is contained in:
@@ -1150,7 +1150,7 @@ $tw.Wiki = function(options) {
|
||||
shadowTiddlerTitles = null,
|
||||
getShadowTiddlerTitles = function() {
|
||||
if(!shadowTiddlerTitles) {
|
||||
shadowTiddlerTitles = Object.keys(shadowTiddlers);
|
||||
shadowTiddlerTitles = Object.keys(shadowTiddlers).sort();
|
||||
}
|
||||
return shadowTiddlerTitles;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user