1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-02 00:22:59 +00:00

Add default prefix for tm-fold-all-tiddlers message

This commit is contained in:
Jermolene
2019-02-05 16:01:24 +00:00
parent 6f5f9ca2fb
commit 44c66b98a9
2 changed files with 6 additions and 8 deletions

View File

@@ -590,7 +590,7 @@ NavigatorWidget.prototype.handleFoldOtherTiddlersEvent = function(event) {
NavigatorWidget.prototype.handleFoldAllTiddlersEvent = function(event) {
var self = this,
paramObject = event.paramObject || {},
prefix = paramObject.foldedStatePrefix;
prefix = paramObject.foldedStatePrefix || "$:/state/folded/";
$tw.utils.each(this.getStoryList(),function(title) {
self.wiki.setText(prefix + title,"text",null,"hide");
});