diff --git a/index.html b/index.html
index 69a6e42..0699d18 100644
--- a/index.html
+++ b/index.html
@@ -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);