Skip to content

Commit

Permalink
fix this reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Oct 5, 2017
1 parent 4c472fa commit 55af55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blots/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Embed extends Parchment.Embed {
super(node);
this.contentNode = document.createElement('span');
this.contentNode.setAttribute('contenteditable', false);
[].slice.call(this.domNode.childNodes).forEach(function(childNode) {
[].slice.call(this.domNode.childNodes).forEach((childNode) => {
this.contentNode.appendChild(childNode);
});
this.leftGuard = document.createTextNode(GUARD_TEXT);
Expand Down

0 comments on commit 55af55a

Please sign in to comment.