X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/ea854b3eae2b03d3eab4f9b937798024648fc8ed..1038a12a841bbacec60cd8a73a93ecf1658ea8a5:/src/editor/modules/nodeBreadCrumbs/nodeBreadCrumbs.js?ds=sidebyside diff --git a/src/editor/modules/nodeBreadCrumbs/nodeBreadCrumbs.js b/src/editor/modules/nodeBreadCrumbs/nodeBreadCrumbs.js index 0540542..24a61de 100644 --- a/src/editor/modules/nodeBreadCrumbs/nodeBreadCrumbs.js +++ b/src/editor/modules/nodeBreadCrumbs/nodeBreadCrumbs.js @@ -14,14 +14,6 @@ return function(sandbox) { var view = { dom: $('
' + template({node:null, parents: null}) + '
'), setup: function() { - this.dom.on('mouseenter', 'a', function(e) { - var target = $(e.target); - sandbox.publish('elementEntered', target.data('element')); - }); - this.dom.on('mouseleave', 'a', function(e) { - var target = $(e.target); - sandbox.publish('elementLeft', target.data('element')); - }); this.dom.on('click', 'a', function(e) { e.preventDefault(); var target = $(e.target);