From bb26d7346237d9506055ddfe36423e6e32427dd0 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 16 Sep 2012 21:22:22 -0300 Subject: [PATCH] Add IE8 to the list. --- .../main/java/com/wisemapping/filter/SupportedUserAgent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/filter/SupportedUserAgent.java b/wise-webapp/src/main/java/com/wisemapping/filter/SupportedUserAgent.java index 00b7c25e..27656873 100644 --- a/wise-webapp/src/main/java/com/wisemapping/filter/SupportedUserAgent.java +++ b/wise-webapp/src/main/java/com/wisemapping/filter/SupportedUserAgent.java @@ -74,7 +74,7 @@ public class SupportedUserAgent implements Serializable { final OperatingSystem os = userAgent.getOperatingSystem(); - return browser == Browser.IE && Integer.parseInt(version.getMajorVersion()) >= 8 && os == OperatingSystem.WINDOWS && header.contains("chromeframe"); + return browser == Browser.IE8 && os == OperatingSystem.WINDOWS && header.contains("chromeframe"); } public static SupportedUserAgent create(@NotNull final String userAgent) {