diff options
author | 2015-11-24 02:59:02 +0300 | |
---|---|---|
committer | 2015-11-24 02:59:02 +0300 | |
commit | 0bf77d5611c656150552235def4b203ad0dc64bf (patch) | |
tree | 7b8d9ccada204586700ab9e3e66ced8267de8750 /src/main/java/com/juick/http/www/PageTemplates.java | |
parent | f39e169fd0b0e5cf169b64d575fa8a276ee60123 (diff) |
update html5shiv but do not use it on IEMobile 9
Diffstat (limited to 'src/main/java/com/juick/http/www/PageTemplates.java')
-rw-r--r-- | src/main/java/com/juick/http/www/PageTemplates.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/http/www/PageTemplates.java b/src/main/java/com/juick/http/www/PageTemplates.java index 0340aa55..828e5e99 100644 --- a/src/main/java/com/juick/http/www/PageTemplates.java +++ b/src/main/java/com/juick/http/www/PageTemplates.java @@ -60,8 +60,8 @@ public class PageTemplates { out.print("<title>" + title + "</title>"); out.print("<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"); out.println("<link rel=\"icon\" href=\"//i.juick.com/favicon.png\"/>"); - out.println("<!--[if lt IE 9]>"); - out.println("<script src=\"//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.min.js\"></script>"); + out.println("<!--[if lt IE 9 & (!IEMobile 7)]>"); + out.println("<script src=\"//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js\"></script>"); out.println("<![endif]-->"); out.println("</head>"); out.flush(); |