From 306270661930a4908d97d2365166c2b5d6712fe4 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 6 Feb 2024 21:43:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuPublic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SrcJuPublic.js b/SrcJuPublic.js index 64b3978d..18bbf271 100644 --- a/SrcJuPublic.js +++ b/SrcJuPublic.js @@ -107,7 +107,7 @@ function selectSource(selectType) { if(getItem('sourceListSort','update') == 'name'){ sourcenames = sortByPinyin(sourcenames); } - return $(sourcenames,3,selectType+">主页源>"+sourcename,sourcenames[sourcename]).select((runMode,sourcename,cfgfile,Juconfig) => { + return $(sourcenames,3,selectType+">主页源>"+sourcename,sourcenames.indexOf(sourcename)).select((runMode,sourcename,cfgfile,Juconfig) => { input = input.replace(/‘|’|“|”|<[^>]+>/g,"").replace(/(.*)√/,'$1'); if(Juconfig["runMode"] == runMode && input==Juconfig[runMode+'sourcename']){