[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:
parent
6b8bbd22b1
commit
b7a9772efb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user