projects
/
selectricity-live
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
60efa5a
)
Expand coverage of IE regex to cover all versions 5-6
author
John Dong
<jdong@mit.edu>
Thu, 30 Aug 2007 17:36:23 +0000
(13:36 -0400)
committer
John Dong
<jdong@mit.edu>
Thu, 30 Aug 2007 17:36:23 +0000
(13:36 -0400)
app/views/layouts/main.rhtml
patch
|
blob
|
history
diff --git
a/app/views/layouts/main.rhtml
b/app/views/layouts/main.rhtml
index 5836b4f2e4422f832c979dd3eacd54831b466e81..74ad018564dbdd57ec8e894ac45d2eb54d99c84e 100644
(file)
--- a/
app/views/layouts/main.rhtml
+++ b/
app/views/layouts/main.rhtml
@@
-5,7
+5,8
@@
<%= stylesheet_link_tag "common", :media => "all" %>
<%= stylesheet_link_tag "main", :media => "all" %>
<%= stylesheet_link_tag *(@stylesheets) %>
<%= stylesheet_link_tag "common", :media => "all" %>
<%= stylesheet_link_tag "main", :media => "all" %>
<%= stylesheet_link_tag *(@stylesheets) %>
- <%= stylesheet_link_tag "ie6hacks", :media => "all" if request.user_agent =~ /MSIE 6/ %>
+ <%= stylesheet_link_tag "ie6hacks", :media => "all" if \
+ request.user_agent =~ /msie\s(5\.[5-9]|[6]\.[0-9]*).*(win)/i %>
<%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
</head>
<%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
</head>
Benjamin Mako Hill
||
Want to submit a patch?