mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-06 10:33:00 +00:00
Tweaks to fold button
This commit is contained in:
@@ -585,8 +585,7 @@ NavigatorWidget.prototype.handleFoldOtherTiddlersEvent = function(event) {
|
||||
paramObject = event.paramObject || {},
|
||||
prefix = paramObject.foldedStatePrefix;
|
||||
$tw.utils.each(this.getStoryList(),function(title) {
|
||||
var foldedState = self.wiki.getTiddlerText(prefix + title,"show");
|
||||
self.wiki.setText(prefix + title,"text",null,event.param === title ? foldedState : "hide");
|
||||
self.wiki.setText(prefix + title,"text",null,event.param === title ? "show" : "hide");
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user