diff options
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content/js/mods.js')
-rw-r--r-- | src/SMAPI.Web/wwwroot/Content/js/mods.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/js/mods.js b/src/SMAPI.Web/wwwroot/Content/js/mods.js index 488692e7..690b81df 100644 --- a/src/SMAPI.Web/wwwroot/Content/js/mods.js +++ b/src/SMAPI.Web/wwwroot/Content/js/mods.js @@ -61,4 +61,11 @@ smapi.modList = function (mods) { // put focus in textbox for quick search if (!location.hash) $("#search-box").focus(); + + // enable table sorting + $("#mod-list").tablesorter({ + cssHeader: "header", + cssAsc: "headerSortUp", + cssDesc: "headerSortDown" + }); }; |