Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Commit

Permalink
Forgot to pass the reference to Node
Browse files Browse the repository at this point in the history
  • Loading branch information
danburzo committed Jul 22, 2016
1 parent f0436c4 commit 6f06947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/core/inline-elements-mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define(['../../node'], function (nodeHelpers) {
if (treeWalker.currentNode) {

// If the node is a non-empty element or has content
if(nodeHelpers.hasContent(treeWalker.currentNode) || nodeHelpers.isTextNodeWithContent(treeWalker.currentNode)) {
if(nodeHelpers.hasContent(treeWalker.currentNode) || nodeHelpers.isTextNodeWithContent(Node, treeWalker.currentNode)) {
return true;
}
}
Expand Down

0 comments on commit 6f06947

Please sign in to comment.