Skip to content

Commit

Permalink
dom/element: no need to #map in #css anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Feb 2, 2014
1 parent 117e654 commit ecc07d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal/browser/dom/element.rb
Expand Up @@ -266,7 +266,7 @@ def css(path)
end
elsif Browser.loaded? 'Sizzle'
def css(path)
NodeSet[`Sizzle(path, #@native)`.map { |x| Native(x) }]
NodeSet[`Sizzle(path, #@native)`]
rescue
NodeSet[]
end
Expand Down

0 comments on commit ecc07d2

Please sign in to comment.