From cf796e281ec684c94117725ab27d4089859e0161 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Dahlstr=C3=B6m?= Date: Thu, 19 Sep 2013 14:23:46 +0300 Subject: [PATCH] Add v-iosN classname for all iOS versions instead of just N=6 (#12324) Change-Id: Id06cfab1404facd612aa470d82757ae6dfe71641 --- client/src/com/vaadin/client/BrowserInfo.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/src/com/vaadin/client/BrowserInfo.java b/client/src/com/vaadin/client/BrowserInfo.java index 84b6f14c34..273964c889 100644 --- a/client/src/com/vaadin/client/BrowserInfo.java +++ b/client/src/com/vaadin/client/BrowserInfo.java @@ -207,10 +207,7 @@ public class BrowserInfo { return prefix + OS_ANDROID; } else if (browserDetails.isIOS()) { String iosClass = prefix + OS_IOS; - if (getOperatingSystemMajorVersion() == 5) { - iosClass += " " + prefix + OS_IOS + "5"; - } - return iosClass; + return iosClass + " " + iosClass + getOperatingSystemMajorVersion(); } else if (browserDetails.isWindows()) { return prefix + OS_WINDOWS; } else if (browserDetails.isLinux()) { -- 2.39.5