twitter-bootstrap-rails-cdn 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,10 +34,7 @@ module TwitterBootstrap::Rails::Cdn
|
|
34
34
|
if OFFLINE and !options[:force]
|
35
35
|
stylesheet_link_tag(local, html_options)
|
36
36
|
else
|
37
|
-
|
38
|
-
javascript_tag("$(function(){ $('body').css('color') === 'rgb(51, 51, 51)' "+
|
39
|
-
"|| $('head').prepend('#{stylesheet_link_tag(local, html_options)}'); });")
|
40
|
-
].join("\n").html_safe
|
37
|
+
stylesheet_link_tag(twitter_bootstrap_stylesheet_url(host, options), html_options)
|
41
38
|
end
|
42
39
|
end
|
43
40
|
|