Skip to content

Commit

Permalink
miniCountdowner
Browse files Browse the repository at this point in the history
  • Loading branch information
EnderWolf006 committed Mar 22, 2024
1 parent 8ec8e71 commit a2a87e3
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 @@ -95,7 +95,7 @@
if (isClassHidden) { // 上课 并且开启了倒计时 并且 隐藏主体 -> 显示小窗口
countdownContainer.style.display = 'none'
miniCountdown.style.display = 'block'
miniCountdown.innerText = scheduleData.currentHighlight.countdownText
miniCountdown.innerHTML = `<div class="currentClass">${currentFullName.innerText = scheduleData.currentHighlight.fullName}</div><div class="countdown" style="margin-left:5px">${scheduleData.currentHighlight.countdownText}</div>`
} else { // 上课 并且开启了倒计时 并且 不隐藏主体 -> 正常计时
countdownContainer.style.display = 'block'
miniCountdown.style.display = 'none'
Expand Down

0 comments on commit a2a87e3

Please sign in to comment.