From: Aleksander Ɓukasz Date: Wed, 17 Apr 2013 13:04:14 +0000 (+0200) Subject: Fix: more precise selector for not catching unwanted events X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/39305f915559082f17b7a5b8fd7521ee05181fec?hp=ad5230bb4e14bbc859fdc5b1b31efab6bf43d122 Fix: more precise selector for not catching unwanted events --- 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)); });