mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Refresh railroad diagrams when config tiddler changes
This commit is contained in:
parent
9e5eaed4a8
commit
a848c105a8
@ -117,7 +117,7 @@ RailroadWidget.prototype.patchLinks = function(node) {
|
||||
|
||||
RailroadWidget.prototype.refresh = function(changedTiddlers) {
|
||||
var changedAttributes = this.computeAttributes();
|
||||
if(changedAttributes.text) {
|
||||
if(changedAttributes.text || changedTiddlers[RAILROAD_OPTIONS]) {
|
||||
this.refreshSelf();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user