- 修复了一些死链

- 添加了新的 otto 插图(没错作者又更了)并修改了更换逻辑
This commit is contained in:
OLDREDSTONE
2025-06-09 00:05:22 +08:00
parent 564e867e04
commit 9e1153417b
15 changed files with 45 additions and 54 deletions
+4 -2
View File
@@ -110,11 +110,12 @@ function plugin(hook, vm) {
currentThemeModeIndex ++
}
window.$docsify.currentThemeModeIndex = currentThemeModeIndex
window.$docsify.onLightDarkModeChange();
setThemeMode(themeModes[currentThemeModeIndex])
if (window.$docsify.onLightDarkModeChange) {
window.$docsify.onLightDarkModeChange();
}
}
document.body.appendChild(switchSpan)
var zoomInSpan = document.createElement('span')
zoomInSpan.id = 'zoomInSpan'
@@ -175,6 +176,7 @@ function plugin(hook, vm) {
showOtto()
}
document.body.appendChild(switchSpan)
document.body.appendChild(zoomInSpan)
document.body.appendChild(zoomOutSpan)
document.body.appendChild(zoomDefaultSpan)