diff --git a/Update.json b/Update.json
index 9c4a525a..f47aa41b 100644
--- a/Update.json
+++ b/Update.json
@@ -3135,6 +3135,17 @@
}
],
"Notes": "为什么这个破东西老是换位置"
+ },
+ "2.4.6": {
+ "UpdateDate": 1759548958578,
+ "Prerelease": true,
+ "UpdateContents": [
+ {
+ "PR": 871,
+ "Description": "Add tooltip for ProblemSwitcher"
+ }
+ ],
+ "Notes": "现在, 你只需要将鼠标悬浮在比赛题目切换器上方, 即可查看题目名称"
}
}
}
\ No newline at end of file
diff --git a/XMOJ.user.js b/XMOJ.user.js
index f10f0fa4..5db634a6 100644
--- a/XMOJ.user.js
+++ b/XMOJ.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name XMOJ
-// @version 2.4.5
+// @version 2.4.6
// @description XMOJ增强脚本
// @author @XMOJ-Script-dev, @langningchen and the community
// @namespace https://github/langningchen
@@ -1695,7 +1695,7 @@ async function main() {
if (problemList[i].url === location.href) {
activeClass = "active";
}
- problemSwitcher.innerHTML += `${buttonText}`;
+ problemSwitcher.innerHTML += `${buttonText}`;
}
document.body.appendChild(problemSwitcher);
}
diff --git a/package.json b/package.json
index a3ac3141..d377dcd3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "xmoj-script",
- "version": "2.4.5",
+ "version": "2.4.6",
"description": "an improvement script for xmoj.tech",
"main": "AddonScript.js",
"scripts": {