X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/ea854b3eae2b03d3eab4f9b937798024648fc8ed..d8c1b8422ef879e737e05f60f7ac401af31b6049:/src/editor/modules/nodeBreadCrumbs/nodeBreadCrumbs.js 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);