Skip to content

Commit

Permalink
fix(render): Remove getRootNode to be compatible with the lower versi…
Browse files Browse the repository at this point in the history
…on of Chrome, fixed #225
  • Loading branch information
QingWei-Li committed Jul 26, 2017
1 parent 7191d70 commit b8dd346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/render/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export function initRender (vm) {

if (config.themeColor) {
dom.$.head.appendChild(
dom.create('div', tpl.theme(config.themeColor)).getRootNode()
dom.create('div', tpl.theme(config.themeColor)).firstElementChild
)
// Polyfll
cssVars(config.themeColor)
Expand Down

0 comments on commit b8dd346

Please sign in to comment.