lib/capybara/poltergeist/client/node.coffee in poltergeist-1.8.0 vs lib/capybara/poltergeist/client/node.coffee in poltergeist-1.8.1

- old
+ new

@@ -29,14 +29,11 @@ y: middle(pos.top, pos.bottom, viewport.height) } mouseEvent: (name) -> this.scrollIntoView() - pos = this.mouseEventPosition() - test = this.mouseEventTest(pos.x, pos.y) - if test.status == 'success' if name == 'rightclick' @page.mouseEvent('click', pos.x, pos.y, 'right') this.trigger('contextmenu') else