I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 535c782b authored by kytv's avatar kytv
Browse files

Allow normal themes to be used with IE >= 10

parent 3d42946f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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 { %>
......
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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment