From: Aleksander Ɓukasz Date: Wed, 5 Feb 2014 15:56:20 +0000 (+0100) Subject: fnpjs: fix in tabs view X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/51b143ce745947ba7a0db2d8d7cf4b68f30c7078 fnpjs: fix in tabs view Don't listen to events from tab content. --- diff --git a/src/editor/views/tabs/tabs.js b/src/editor/views/tabs/tabs.js index ada2dba..1b7ba44 100644 --- a/src/editor/views/tabs/tabs.js +++ b/src/editor/views/tabs/tabs.js @@ -11,7 +11,7 @@ define([ 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) {