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) {