Skip to content

Commit

Permalink
Syntax errors and ParentNode.prepend not supported in IE (#239)
Browse files Browse the repository at this point in the history
* Fixing node.prepend undefined and syntax error from webpack on IE

* Reverting babel-preset changes in webpack.config
  • Loading branch information
alexdaube authored and RobbieTheWagner committed Sep 7, 2018
1 parent 7b94823 commit d52e54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class Step extends Evented {
const title = document.createElement('h3');
title.classList.add('shepherd-title');
title.innerHTML = `${this.options.title}`;
header.prepend(title);
header.appendChild(title);
element.classList.add('shepherd-has-title');
}

Expand Down

0 comments on commit d52e54a

Please sign in to comment.