Skip to content

Commit

Permalink
ensure we're using the endMarker's parent when removing endMarker
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Whitton committed May 29, 2019
1 parent 87a5119 commit c0ec985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/instance-initializers/clear-double-boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function clearHtml() {
parent.removeChild(current);
current = nextNode;
} while (nextNode && nextNode !== endMarker && shoeboxNodesArray.indexOf(nextNode) < 0);
parent.removeChild(endMarker);
endMarker.parentElement.removeChild(endMarker);
}
}
export default {
Expand Down

0 comments on commit c0ec985

Please sign in to comment.