From 39305f915559082f17b7a5b8fd7521ee05181fec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 17 Apr 2013 15:04:14 +0200 Subject: [PATCH 1/1] Fix: more precise selector for not catching unwanted events --- modules/tabsManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tabsManager.js b/modules/tabsManager.js index 4103887..1f0ac18 100644 --- a/modules/tabsManager.js +++ b/modules/tabsManager.js @@ -29,7 +29,7 @@ rng.modules.tabsManager = function(sandbox) { } - view.on('click', 'li a', function(e) { + view.on('click', '#rng-tabsManager-tabBar li a', function(e) { selectTab($(e.target).attr('href').substr(1)); }); -- 2.20.1