Merge branch 'master' of github.com:qingwei-li/docsify
This commit is contained in:
commit
b8a96b867b
11 changed files with 26 additions and 11 deletions
|
|
@ -211,7 +211,9 @@ export function initRender (vm) {
|
|||
dom.before(navAppendToTarget, navEl)
|
||||
|
||||
if (config.themeColor) {
|
||||
dom.$.head.innerHTML += tpl.theme(config.themeColor)
|
||||
dom.$.head.appendChild(
|
||||
dom.create('div', tpl.theme(config.themeColor)).getRootNode()
|
||||
)
|
||||
// Polyfll
|
||||
cssVars(config.themeColor)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue