]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_head.html.erb
Use html5shiv for IE8 compatibility
[rails.git] / app / views / layouts / _head.html.erb
index a1f11f7005f21cf9c089d441d8dbf161f2edee1b..46fe40f04227dfb3e75c102758758daa13bf6950 100644 (file)
@@ -1,5 +1,6 @@
 <head>
   <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
+  <!--[if lt IE 9]><%= javascript_include_tag "html5shiv" %><![endif]-->
   <%= javascript_include_tag "application" %>
   <!--[if lt IE 7]><%= javascript_include_tag "pngfix" %><![endif]--> <!-- thanks, microsoft! -->
   <%= stylesheet_link_tag "small-#{dir}", :media => "only screen and (max-width:721px)" %>