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?ds=inline;hp=950632a02425edb79343f6fdeb5b2d7f0a5854d2 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) {