|
|
@ -41,7 +41,7 @@ function selectsource(input) { |
|
|
|
sourcenames.push(it.name); |
|
|
|
sourcenames.push(it.name); |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
return $(sourcenames,2,"选择"+input+"主页源").select((runMode,sourcename,cfgfile,Juconfig) => { |
|
|
|
return $(sourcenames,3,"选择"+input+"主页源").select((runMode,sourcename,cfgfile,Juconfig) => { |
|
|
|
input = input.replace(/‘|’|“|”|<[^>]+>/g,""); |
|
|
|
input = input.replace(/‘|’|“|”|<[^>]+>/g,""); |
|
|
|
if(Juconfig["runMode"] == runMode && input==Juconfig[runMode+'sourcename']){ |
|
|
|
if(Juconfig["runMode"] == runMode && input==Juconfig[runMode+'sourcename']){ |
|
|
|
return 'toast://'+runMode+' 主页源:' + input; |
|
|
|
return 'toast://'+runMode+' 主页源:' + input; |
|
|
|