Skip to content

Commit 48a0356

Browse files
committed
[Installer] Fixed a bug that caused the output after installing to not display the conditional comments.
1 parent 94e9696 commit 48a0356

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/compass/installers/rails.rb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ def stylesheet_links
121121
if stylesheet.options[:media]
122122
ss_line += ", :media => '#{stylesheet.options[:media]}'"
123123
end
124-
if stylesheet.options[:ie]
125-
ss_line = " /[if IE]\n " + ss_line
124+
if stylesheet.options[:condition]
125+
ss_line = " /[if #{stylesheet.options[:condition]}]\n " + ss_line
126126
end
127127
html << ss_line + "\n"
128128
end

0 commit comments

Comments
 (0)