Allow normal themes to be used with IE >= 10

This commit is contained in:
kytv
2013-05-30 01:39:07 +00:00
parent 3d42946ff5
commit 535c782b7c
3 changed files with 5 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public class CSSHelper extends HelperBase {
public String getTheme(String userAgent) {
String url = BASE_THEME_PATH;
if (userAgent != null && userAgent.contains("MSIE")) {
if (userAgent != null && (userAgent.contains("MSIE") && !userAgent.contains("Trident/6"))) {
url += FORCE + "/";
} else {
// This is the first thing to use _context on most pages

View File

@ -36,7 +36,7 @@ input.default {
<input type="hidden" name="action" value="blah" >
<%
String userAgent = request.getHeader("User-Agent");
if (userAgent == null || !userAgent.contains("MSIE")) {
if (userAgent == null || userAgent.contains("Trident/6") || !userAgent.contains("MSIE")) {
%>
<jsp:getProperty name="uihelper" property="settings" />
<% } else { %>

View File

@ -1,3 +1,6 @@
2013-05-30 kytv
* Allow themes to be used in IE >= 10
2013-05-29 zzz
* Console: Remove I2PDigestAuthenticator workaround, as Jetty 7.6.11 has the fix
* i2ptunnel: Default to 3 hops (ticket #936)