refactoring: common things in constructor, dom construction in a separate function
[fnpeditor.git] / 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) {