fix: 项目链接

This commit is contained in:
streakingman 2022-10-04 14:20:45 +08:00
parent e4c6a2d584
commit e867a927b3

View File

@ -212,13 +212,12 @@
'href',
'https://github.com/StreakingMan/solvable-sheep-game'
);
a.setAttribute('target', '_blank');
a.setAttribute('target', '_self');
a.style.cursor = 'pointer'
a.style.zIndex = '15'
a.innerText =
'本项目仅供交流禁止商业用途点击查看原github仓库';
const p = document.createElement('p');
p.style.textAlign = 'center';
p.append(a);
document.body.prepend(p);
document.getElementById('root')?.prepend(a);
}
}, 5000);
</script>