Skip to content

Commit

Permalink
fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
watzon committed Aug 14, 2019
1 parent 5ff5a81 commit 4d4e18a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: marionette
version: 0.1.0
version: 0.1.1

authors:
- Chris Watson <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions src/marionette/browser.cr
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ module Marionette
if start_node.nil? || start_node.empty?
params = {using: by.to_s, value: value}
else
start_node = start_node.is_a?(HTMLElement) ? start_node.id : el
start_node = start_node.is_a?(HTMLElement) ? start_node.id : start_node
params = {using: by.to_s, value: value, element: start_node}
end

Expand All @@ -534,7 +534,7 @@ module Marionette
if start_node.nil? || start_node.empty?
params = {using: by.to_s, value: value}
else
start_node = start_node.is_a?(HTMLElement) ? start_node.id : el
start_node = start_node.is_a?(HTMLElement) ? start_node.id : start_node
params = {using: by.to_s, value: value, element: start_node}
end

Expand Down
2 changes: 1 addition & 1 deletion src/marionette/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Marionette
VERSION = "0.1.0"
VERSION = "0.1.1"
end

0 comments on commit 4d4e18a

Please sign in to comment.