diff options
author | 2015-12-02 13:22:16 +0300 | |
---|---|---|
committer | 2015-12-02 13:22:16 +0300 | |
commit | 73b90d85cb564a3f465dc631c0739fdd473c83b2 (patch) | |
tree | 8b14ad31b22f832ac845b6da3c89e577f0fe53ee /src/main/java/com | |
parent | 6bd3f91fc29d58d16b87c78d2592ec6781ba5a72 (diff) |
fix ie placeholders with new jquery, lol
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/juick/http/www/PageTemplates.java | 5 |
1 files changed, 3 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 828e5e99..bb4a6e47 100644 --- a/src/main/java/com/juick/http/www/PageTemplates.java +++ b/src/main/java/com/juick/http/www/PageTemplates.java @@ -51,14 +51,15 @@ public class PageTemplates { out.println("<!DOCTYPE html>"); out.print("<html>"); out.print("<head>"); + out.println("<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">"); out.print("<link rel=\"stylesheet\" href=\"/style.2014072500.css\"/>"); - out.print("<script type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js\"></script>"); + out.print("<script type=\"text/javascript\" src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js\"></script>"); out.print("<script type=\"text/javascript\" src=\"/scripts.2014072900.js\"></script>"); if (headers != null) { out.print(headers); } out.print("<title>" + title + "</title>"); - out.print("<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"); + out.println("<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 & (!IEMobile 7)]>"); out.println("<script src=\"//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js\"></script>"); |