Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Apr 26, 2019
1 parent ac39dae commit d68407d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/selenium/nodes/firefox_node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def click(keys = [], **options)
end

def disabled?
return driver.evaluate_script("arguments[0].matches(':disabled, select:disabled option')", self)
driver.evaluate_script("arguments[0].matches(':disabled, select:disabled option')", self)

# Not sure exactly what version of FF fixed the below issue, but it is definitely fixed in 61+
# return super unless browser_version < 61.0
Expand Down

0 comments on commit d68407d

Please sign in to comment.