Failed to execute 'insertBefore' on 'Node'
nickmealey opened this issue · 0 comments
nickmealey commented
When using the insertHtml method, this error seems to come up. Adding another definition to Medium.Html seems to fix the problem:
Medium.Html = function (medium, html) {
this.medium = medium;
this.element = medium.settings.element;
this.html = html; // Adding this line fixes the error
this.clean = true;
};