diff --git a/src/workspace-element.js b/src/workspace-element.js index a1e8f3ba7..f96613386 100644 --- a/src/workspace-element.js +++ b/src/workspace-element.js @@ -283,9 +283,8 @@ class WorkspaceElement extends HTMLElement { const visiblePanes = _.flatten(visiblePaneContainers.map(container => container.getPanes())) const paneViews = visiblePanes - .map(otherPane => { - return otherPane.getElement() - }).filter(otherPaneView => { + .map(otherPane => otherPane.getElement()) + .filter(otherPaneView => { const otherBox = this.boundingBoxForPaneView(otherPaneView) switch (direction) { case 'left': return otherBox.right.x <= box.left.x