Skip to content

Commit 0a604cc

Browse files
更新 script.js
1 parent 4aa0b1f commit 0a604cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function showRandomQuote() {
1919

2020
// 设置新的田语内容
2121
setTimeout(() => {
22-
quoteElement.textContent = newQuote;
22+
quoteElement.innerHTML = newQuote;
2323
// 添加淡入效果
2424
setTimeout(() => {
2525
quoteElement.style.opacity = 1;

0 commit comments

Comments
 (0)