X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/ce24094b892d3fb0faf000b5e2bf64f58ce4aae5..ca1c01b10805014a2f1c24c6f055cd77fc66af01:/modules/nodeBreadCrumbs/nodeBreadCrumbs.js diff --git a/modules/nodeBreadCrumbs/nodeBreadCrumbs.js b/modules/nodeBreadCrumbs/nodeBreadCrumbs.js index 9bf211e..34e514a 100644 --- a/modules/nodeBreadCrumbs/nodeBreadCrumbs.js +++ b/modules/nodeBreadCrumbs/nodeBreadCrumbs.js @@ -54,9 +54,7 @@ return function(sandbox) { start: function() { sandbox.publish('ready'); }, getView: function() { return view.dom; }, setNodeElement: function(nodeElement) { - if(!nodeElement.sameNode(view.currentNodeElement)) { - view.setNodeElement(nodeElement); - } + view.setNodeElement(nodeElement); }, highlightNode: function(id) { view.highlightNode(id); }, dimNode: function(id) { view.dimNode(id); }