Commit e8116669 authored by Nick Poulden's avatar Nick Poulden
Browse files

Always show tab overflow button

parent 18a91e9c
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ Ext.define('Docs.view.Tabs', {
                '</div>',
            '</tpl>',
            '<div style="float: left; width: 8px">&nbsp;</div>',
            '<div id="tabOverflow" style="visibility: hidden"></div>'
            '<div id="tabOverflow"></div>'
        );

        this.html = this.tpl.applyTemplate(this.staticTabs);
@@ -96,10 +96,6 @@ Ext.define('Docs.view.Tabs', {
            this.activateTab(tab.href);
        }

        if (this.tabs.length > this.maxTabsInBar()) {
            Ext.get('tabOverflow').show();
        }

        this.saveTabs();
    },

@@ -447,10 +443,6 @@ Ext.define('Docs.view.Tabs', {
        Ext.Array.each(this.tabs, function(tab) {
            this.addTabToOverflow(this.tabCache[tab]);
        }, this);

        if (this.tabs.length > this.maxTabsInBar()) {
            Ext.get('tabOverflow').show();
        }
    },

    addToolTips: function() {