Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
troilus committed Nov 1, 2024
1 parent 43b8c63 commit 1dd5582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ <h1>使用说明</h1>
window.onload = function() {
const statusElement = document.getElementById('upload-status'); // 获取状态元素

if (backupgistcycle > 60000) {
if (backupgistcycle > 60000 && backupgist === true ) {
const currentTime = new Date().toLocaleTimeString(); // 获取当前时间
statusElement.textContent = `${currentTime} 🔁已启用自动上传Gist(间隔 ${backupgistcycle/1000} 秒) `; // 设置初始状态
setTimeout(() => {
Expand Down

0 comments on commit 1dd5582

Please sign in to comment.