From a848c105a8bd6b3421357b38077c8c237fe71fda Mon Sep 17 00:00:00 2001 From: Astrid Elocson Date: Tue, 20 Jan 2015 08:38:00 +0000 Subject: [PATCH] Refresh railroad diagrams when config tiddler changes --- plugins/tiddlywiki/railroad/wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/railroad/wrapper.js b/plugins/tiddlywiki/railroad/wrapper.js index 89806b24c..ca1c18e6b 100644 --- a/plugins/tiddlywiki/railroad/wrapper.js +++ b/plugins/tiddlywiki/railroad/wrapper.js @@ -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; }