From 7cc79163758e858de9538ac1d9b7e76fc40ef4d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E4=B8=96=E8=90=BD=E5=B9=95?= <714255036@qq.com> Date: Thu, 17 Jun 2021 11:33:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dwiki=E7=A7=8D=E6=97=8F?= =?UTF-8?q?=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/wiki/species.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wiki/species.js b/src/wiki/species.js index 193e6ed0..2b2fb005 100644 --- a/src/wiki/species.js +++ b/src/wiki/species.js @@ -52,7 +52,7 @@ export function racesPage(){ } }); - list.sort((a,b) => races[a].name < races[b].name ? -1 : 1).forEach(function(race){ + list.forEach(function(race){ sideMenu('add',`races-species`,race,races[race].name); }); } -- Gitee