修复bug

This commit is contained in:
zqlit committed 2026-05-24 19:58:07 +08:00
1 parent e382dc36a5
commit 331af9074a
121 files changed
+323 -210

No files matched your search

+3 -1
View File
@@ -48,7 +48,9 @@ window.initThemeToggle = function() {
window.dispatchEvent(new Event('resize'));
};
if (document.startViewTransition) {
var isMobile = window.isMobile && window.isMobile();
if (document.startViewTransition && !isMobile) {
document.startViewTransition(function() { apply(); });
} else {
apply();