diff --git a/addon/lib/sustain.js b/addon/lib/sustain.js index 9c7b4f07..640c524a 100644 --- a/addon/lib/sustain.js +++ b/addon/lib/sustain.js @@ -121,11 +121,11 @@ export default Obj.extend({ let node = this.range.firstNode; let list = []; - list.push(node); while (node !== this.range.lastNode) { list.push(node); node = node.nextSibling; } + list.push(node); return list; },