diff --git a/vendor/plugins/refinery/app/views/shared/_site_bar.html.erb b/vendor/plugins/refinery/app/views/shared/_site_bar.html.erb index a5d70ae722..34132b3167 100644 --- a/vendor/plugins/refinery/app/views/shared/_site_bar.html.erb +++ b/vendor/plugins/refinery/app/views/shared/_site_bar.html.erb @@ -2,16 +2,24 @@ <% unless admin? or login? # jquery scripts should already be cached when using the site bar as login has happened. %> <%= stylesheet_link_tag('refinery/site_bar') unless exclude_css ||= false %> <%= jquery_include_tags(:jquery_ui => false) unless exclude_jquery ||= false %> - <%= javascript_include_tag 'jquery/jquery.corner.js' unless exclude_jquery or (exclude_cornering_library ||= false) %> - <% unless exclude_jquery or exclude_cornering_library or (exclude_site_bar_javascript ||= false) %> + <%= javascript_include_tag 'jquery/jquery.corner.js' unless exclude_cornering_library ||= false %> + <% unless exclude_site_bar_javascript ||= false %> <% end %> <% end -%>