X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/a98948280a27e20a66c70d51c814956d2850c357..0912ecb847ddbbe4b04b7125389dbba026205750:/modules/nodeBreadCrumbs/nodeBreadCrumbs.js diff --git a/modules/nodeBreadCrumbs/nodeBreadCrumbs.js b/modules/nodeBreadCrumbs/nodeBreadCrumbs.js index 1db8a22..4a787f4 100644 --- a/modules/nodeBreadCrumbs/nodeBreadCrumbs.js +++ b/modules/nodeBreadCrumbs/nodeBreadCrumbs.js @@ -22,6 +22,7 @@ return function(sandbox) { }); this.dom.on('click', 'a', function(e) { e.preventDefault(); + var target = $(e.target); sandbox.publish('nodeSelected', target.attr('data-id')); }); },