mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Fix #1357: Railroad plugin under Node.js
This commit is contained in:
parent
9e167dc468
commit
6a75c4623a
@ -74,7 +74,7 @@ RailroadWidget.prototype.renderSvg = function(parser,div) {
|
|||||||
|
|
||||||
RailroadWidget.prototype.patchLinks = function(node) {
|
RailroadWidget.prototype.patchLinks = function(node) {
|
||||||
var self = this;
|
var self = this;
|
||||||
if(node.hasChildNodes()) {
|
if(!$tw.node && node.hasChildNodes()) {
|
||||||
var children = node.childNodes;
|
var children = node.childNodes;
|
||||||
for(var i=0; i<children.length; i++) {
|
for(var i=0; i<children.length; i++) {
|
||||||
var child = children[i];
|
var child = children[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user