[Sass Extensions] Fixed a copy & paste error that caused the http_images_path to not get picked up unless the http_stylesheets_path was also set.

This commit is contained in:
Chris Eppstein 2009-07-07 11:13:19 -07:00
parent 6b8bbd22b1
commit b7a9772efb

View File

@ -25,7 +25,7 @@ module Compass::SassExtensions::Functions::Urls
# or nil if the http_images_path is not set in the configuration.
http_images_path = if relative?
compute_relative_path(Compass.configuration.images_dir)
elsif Compass.configuration.http_stylesheets_path
elsif Compass.configuration.http_images_path
Compass.configuration.http_images_path
else
Compass.configuration.root_relative(Compass.configuration.images_dir)