diff --git a/src/selection/Selection.js b/src/selection/Selection.js index 59a8216..aba36e6 100644 --- a/src/selection/Selection.js +++ b/src/selection/Selection.js @@ -51,7 +51,8 @@ export default class Selection { } get bodies() { - return this.underlying.body; + return (Array.isArray(this.underlying.body)) ? + this.underlying.body : [ this.underlying.body ]; } selector = type => {