Skip to content

Commit 07632f0

Browse files
committed
Merge pull request #8 from chancancode/rm-setMorphHTML
Remove usage of `DOMHelper#setMorphHTML`
2 parents c841f2b + 849e806 commit 07632f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/morph-range.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Morph.prototype.setContent = function Morph$setContent(content) {
4747
switch (type) {
4848
case 'string':
4949
if (this.parseTextAsHTML) {
50-
return this.domHelper.setMorphHTML(this, content);
50+
return this.setHTML(content);
5151
}
5252
return this.setText(content);
5353
case 'object':

0 commit comments

Comments
 (0)