X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/ce24094b892d3fb0faf000b5e2bf64f58ce4aae5..6535ed0c525f70c936a8e25ff38df5157b15c04c:/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); }