1
0
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:
Astrid Elocson 2015-01-20 08:38:00 +00:00
parent 9e5eaed4a8
commit a848c105a8

View File

@ -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;
}