Fix: more precise selector for not catching unwanted events
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 17 Apr 2013 13:04:14 +0000 (15:04 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 17 Apr 2013 13:04:14 +0000 (15:04 +0200)
modules/tabsManager.js

index 4103887..1f0ac18 100644 (file)
@@ -29,7 +29,7 @@ rng.modules.tabsManager = function(sandbox) {
     }\r
        \r
     \r
-    view.on('click', 'li a', function(e) {\r
+    view.on('click', '#rng-tabsManager-tabBar li a', function(e) {\r
         selectTab($(e.target).attr('href').substr(1));\r
     });\r
     \r