]> git.openstreetmap.org Git - rails.git/commitdiff
Don't load pngfix.js on IE7 as it isn't needed.
authorTom Hughes <tom@compton.nu>
Fri, 15 Jun 2007 13:03:30 +0000 (13:03 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 15 Jun 2007 13:03:30 +0000 (13:03 +0000)
app/views/layouts/site.rhtml

index 8d05597721a1cdb3b0e4667b7fc77e6ba5fff8a7..df6989bf8c9f45db750e12afba639853a5f35358 100644 (file)
@@ -2,7 +2,7 @@
 <html>
   <head>
     <%= javascript_include_tag 'main.js' %>
-    <!--[if IE]><%= javascript_include_tag 'pngfix.js' %><![endif]--> <!-- thanks, microsoft! -->
+    <!--[if lt IE 7]><%= javascript_include_tag 'pngfix.js' %><![endif]--> <!-- thanks, microsoft! -->
     <%= javascript_include_tag 'tile.js' %>
     <%= javascript_include_tag 'site.js' %>