X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/df248fcadb1956e5027424ab9e59c41ddd96d3bd..529d397b436dfefad66aabf7c1d56847d3c9cd56:/views/tabs/tabs.js diff --git a/views/tabs/tabs.js b/views/tabs/tabs.js index dcd3e96..52c8160 100644 --- a/views/tabs/tabs.js +++ b/views/tabs/tabs.js @@ -29,8 +29,9 @@ define([ } if(this.options.stacked) { - this.nodes.tabBar.addClass('nav-stacked nav-pills'); + this.nodes.tabBar.addClass('nav-stacked nav-pills').removeClass('nav-tabs'); } + return this; }, addTab: function(title, slug, content) { @@ -61,6 +62,10 @@ define([ } }, + getAsView: function() { + return this.$el; + }, + /* Events */ _onTabTitleClicked: function(e) {