mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-24 22:33:16 +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) {
|
RailroadWidget.prototype.refresh = function(changedTiddlers) {
|
||||||
var changedAttributes = this.computeAttributes();
|
var changedAttributes = this.computeAttributes();
|
||||||
if(changedAttributes.text) {
|
if(changedAttributes.text || changedTiddlers[RAILROAD_OPTIONS]) {
|
||||||
this.refreshSelf();
|
this.refreshSelf();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user