Removing old visualEditor module leftovers
[fnpeditor.git] / modules / nodeBreadCrumbs / nodeBreadCrumbs.js
index 1db8a22..4a787f4 100644 (file)
@@ -22,6 +22,7 @@ return function(sandbox) {
             });\r
             this.dom.on('click', 'a', function(e) {\r
                 e.preventDefault();\r
             });\r
             this.dom.on('click', 'a', function(e) {\r
                 e.preventDefault();\r
+                var target = $(e.target);\r
                 sandbox.publish('nodeSelected', target.attr('data-id'));\r
             });\r
         },\r
                 sandbox.publish('nodeSelected', target.attr('data-id'));\r
             });\r
         },\r