Skip to content

Commit

Permalink
style: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
teaSummer committed Aug 3, 2024
1 parent 2773684 commit 9c0badc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ let searchKeyword = '', searchableAbbr = '';
let notificationCount = '';
let visibility = true;

const downloadMirrorUrl = 'https://ghproxy.cn/<T>'
const downloadMirrorUrl = 'https://ghproxy.cn/<T>';

const downloadSVG = '<span class="svg right"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M320 336h76c55 0 100-21.21 100-75.6s-53-73.47-96-75.6C391.11 99.74 329 48 256 48c-69 0-113.44 45.79-128 91.2-60 5.7-112 35.88-112 98.4S70 336 136 336h56M192 400.1l64 63.9 64-63.9M256 224v224.03" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="56"></path></svg></span>';
const downloadMirror = ((url) => $('.github-proxy').is(':checked') && String(url).startsWith('https://github.com/') ? downloadMirrorUrl.replace('<T>', url) : url); // 针对大陆地区 | for Chinese Mainland
const downloadClick = (() => $('.download').click(function() {
Expand Down

0 comments on commit 9c0badc

Please sign in to comment.