From ab5fdbdbf582607e4d3072b03c6aaff383653674 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Thu, 6 Jun 2013 17:01:06 +0200 Subject: [PATCH] Fixing node selection via bread crumbs --- modules/nodeBreadCrumbs/nodeBreadCrumbs.js | 1 + 1 file changed, 1 insertion(+) 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')); }); }, -- 2.20.1