diff --git a/SrcJuPublic.js b/SrcJuPublic.js index 9806dad5..2ed8b8e0 100644 --- a/SrcJuPublic.js +++ b/SrcJuPublic.js @@ -96,7 +96,7 @@ function selectSource(selectType) { getListData("yi",selectType).forEach(it=>{ if(sourcenames.indexOf(it.name)==-1){ if(Juconfig[runMode+'sourcename'] == it.name){ - it.name = '‘‘’’'+it.name+''; + it.name = ''+it.name+''; } sourcenames.push({title: it.name, icon: it.img, url: it.name}); } @@ -105,7 +105,7 @@ function selectSource(selectType) { return "toast://当前分类无接口" } //return $(sourcenames,3,"选择 "+selectType+" 主页源").select((runMode,sourcename,cfgfile,Juconfig) => { - hikerPop.selectCenterIcon({iconList: sourcenames, title: "选择 "+selectType+" 主页源", columns: 3, click(input) { + hikerPop.selectCenterIcon({iconList: sourcenames, title: "选择 "+selectType+" 主页源", columns: 2, click(input) { input = input.replace(/‘|’|“|”|<[^>]+>/g,""); if(Juconfig["runMode"] == runMode && input==Juconfig[runMode+'sourcename']){ return 'toast://'+runMode+' 主页源:' + input;