diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2013-09-19 14:23:46 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-09-19 11:25:25 +0000 |
commit | cf796e281ec684c94117725ab27d4089859e0161 (patch) | |
tree | 10be44c996cf275b78c1669bbca081656278d761 | |
parent | 0e2780a0ad6212a7bee9d204464504c6ed0e41a1 (diff) | |
download | vaadin-framework-cf796e281ec684c94117725ab27d4089859e0161.tar.gz vaadin-framework-cf796e281ec684c94117725ab27d4089859e0161.zip |
Add v-iosN classname for all iOS versions instead of just N=6 (#12324)
Change-Id: Id06cfab1404facd612aa470d82757ae6dfe71641
-rw-r--r-- | client/src/com/vaadin/client/BrowserInfo.java | 5 |
1 files changed, 1 insertions, 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()) { |