This commit is contained in:
ken 2026-06-25 17:32:16 +08:00
parent 265c954b66
commit 01af9732e4
1 changed files with 2 additions and 1 deletions

View File

@ -1030,7 +1030,8 @@ $(function() {
currentTitle.includes('Open in new window') ||
currentTitle.includes('/uploads/');
if (currentTitle.startsWith('/') || currentTitle.includes('?')) {
// 修正後:只有在沒有原始 title 時才清空
if (!hasOriginalTitle && (currentTitle.startsWith('/') || currentTitle.includes('?'))) {
currentTitle = "";
}