X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/ce24094b892d3fb0faf000b5e2bf64f58ce4aae5..393685bcd5f1b3cf31cdea0cf36c2ac7e44f31c3:/modules/nodeBreadCrumbs/nodeBreadCrumbs.js?ds=sidebyside 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); }