Commit 2354add1 authored by Ondrej Jirman's avatar Ondrej Jirman
Browse files

Update overflow menu after a tab is closed

parent c8a59c8e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -286,6 +286,7 @@ Ext.define('Docs.view.Tabs', {
        docTab.dom.removed = true;
        if (Ext.isIE) {
            docTab.remove();
            this.createOverflow();
        } else {
            docTab.animate({
                to: { top: 30 },
@@ -297,6 +298,7 @@ Ext.define('Docs.view.Tabs', {
                    afteranimate: function() {
                        docTab.remove();
                        this.shouldResize = true;
                        this.createOverflow();
                    },
                    scope: this
                }