Skip to content
Browse files

Merge pull request #820 from piouPiouM/fix-sprite_magic_selector

Fixed the sprite Magic Selectors
  • Loading branch information...
2 parents b107ccb + 5f74731 commit 4b126a7264f19a85954c03fd93018dd40e06a3d8 @scottdavis scottdavis committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/compass/sass_extensions/functions/sprites.rb
2 lib/compass/sass_extensions/functions/sprites.rb
@@ -110,7 +110,7 @@ def sprite_has_selector(map, sprite, selector)
unless VALID_SELECTORS.include?(selector.value)
raise Sass::SyntaxError, "Invalid Selctor did you mean one of: #{VALID_SELECTORS.join(', ')}"
- map.send(:"has_#{selector.value}?", sprite)
+ map.send(:"has_#{selector.value}?", sprite.value)
Sass::Script::Functions.declare :sprite_has_selector, [:map, :sprite, :selector]

0 comments on commit 4b126a7

Please sign in to comment.
Something went wrong with that request. Please try again.