fnpjs: fix in tabs view
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 5 Feb 2014 15:56:20 +0000 (16:56 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 5 Feb 2014 15:56:35 +0000 (16:56 +0100)
Don't listen to events from tab content.

src/editor/views/tabs/tabs.js

index ada2dba..1b7ba44 100644 (file)
@@ -11,7 +11,7 @@ define([
         className: 'rng-view-tabs',
         
         events: {
         className: 'rng-view-tabs',
         
         events: {
-            'click ul a, i': '_onTabTitleClicked'
+            'click .rng-view-tabs-tabBar a, .rng-view-tabs-tabBar i': '_onTabTitleClicked'
         },
         
         initialize: function(options) {
         },
         
         initialize: function(options) {