上傳檔案到「modules/story-summary」

This commit is contained in:
X
2026-02-15 10:07:57 +00:00
parent 79f1af4857
commit cbc7c356a4

View File

@@ -1640,7 +1640,7 @@
bindEvents(); bindEvents();
// === EASTER EGG: 连续点击「调试」Tab 5 次切换新野兽派主题localStorage 持久化)=== // === EASTER EGG: 连续点击标题「总结」5 次切换新野兽派主题localStorage 持久化)===
(function () { (function () {
const STORAGE_KEY = 'xb-theme-alt'; const STORAGE_KEY = 'xb-theme-alt';
const CSS_A = 'story-summary.css'; const CSS_A = 'story-summary.css';
@@ -1655,10 +1655,11 @@
// 点击计数器 // 点击计数器
let clickCount = 0, clickTimer = null; let clickCount = 0, clickTimer = null;
const debugTab = document.querySelector('.settings-tab[data-tab="tab-debug"]'); const trigger = document.querySelector('h1 span');
if (!debugTab) return; if (!trigger) return;
debugTab.addEventListener('click', function () { trigger.style.cursor = 'default';
trigger.addEventListener('click', function () {
clickCount++; clickCount++;
clearTimeout(clickTimer); clearTimeout(clickTimer);
clickTimer = setTimeout(() => { clickCount = 0; }, 2000); clickTimer = setTimeout(() => { clickCount = 0; }, 2000);