Commit f8f9fa17 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Eliminate last remaining permanent sortByScore setting.

parent 944724f9
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -104,10 +104,6 @@ Ext.define('Docs.view.comments.List', {
    },

    initTabs: function() {
        if (Docs.Settings.get("comments").sortByScore) {
            this.down("tabpanel[cls=comments-tabpanel]").setActiveTab(1);
        }

        this.down("tabpanel[cls=comments-tabpanel]").on("tabchange", function(panel, newTab) {
            if (newTab.title === "Recent") {
                this.fireEvent("sortOrderChange", "recent");