Add IE8 to the list.

This commit is contained in:
Paulo Gustavo Veiga 2012-09-16 21:22:22 -03:00
parent 6badd972b0
commit bb26d73462

View File

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