mirror of
https://github.com/zhigang1992/docsify.git
synced 2026-04-21 05:20:29 +08:00
feat(src): dynamic title and fix sidebar style
This commit is contained in:
@@ -25,6 +25,9 @@ function collect () {
|
||||
}
|
||||
|
||||
const install = function () {
|
||||
if (install.installed) return
|
||||
install.installed = true
|
||||
|
||||
if (!window.Docsify || !window.Docsify.installed) {
|
||||
console.error('[Docsify] Please load docsify.js first.')
|
||||
return
|
||||
|
||||
@@ -321,6 +321,9 @@ const searchPlugin = function () {
|
||||
}
|
||||
|
||||
const install = function () {
|
||||
if (install.installed) return
|
||||
install.installed = true
|
||||
|
||||
if (!window.Docsify || !window.Docsify.installed) {
|
||||
console.error('[Docsify] Please load docsify.js first.')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user