Fixing node selection via bread crumbs
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 6 Jun 2013 15:01:06 +0000 (17:01 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 6 Jun 2013 15:01:06 +0000 (17:01 +0200)
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
+                var target = $(e.target);\r
                 sandbox.publish('nodeSelected', target.attr('data-id'));\r
             });\r
         },\r