diff --git a/index.html b/index.html
index 57befd4..16bce85 100644
--- a/index.html
+++ b/index.html
@@ -427,7 +427,7 @@
-
+
@@ -636,6 +636,19 @@
}
}
+ function copyGitLink() {
+ var range = document.createRange();
+ range.selectNodeContents(document.getElementById('gitLink'));
+ var selection = document.getSelection();
+ selection.removeAllRanges();
+ selection.addRange(range);
+ document.execCommand('Copy');
+ selection.removeAllRanges();
+ mdui.snackbar({
+ message: '已复制到剪贴板~( っ*\'ω\'*c)'
+ });
+ }
+
//设置界面显示
document.getElementById('configTypeText').onclick = function () {
document.getElementById('configWebsite').style.display = 'none';