diff options
author | Artur Signell <artur@vaadin.com> | 2012-10-09 18:38:28 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-10-23 16:10:56 +0300 |
commit | 21f8f85da95b2a3e555c46bfaf595fe61824fb94 (patch) | |
tree | 60aa29c536ba8552b0e594514ec65747f167915a /client/src/com | |
parent | 1baeeab1dbbb0f774c249bedc98b403bb5cd1c1f (diff) | |
download | vaadin-framework-21f8f85da95b2a3e555c46bfaf595fe61824fb94.tar.gz vaadin-framework-21f8f85da95b2a3e555c46bfaf595fe61824fb94.zip |
Added BrowserInfo.isIE10() and test for IE10 user agent (#9217)
Change-Id: Ie81dcbfeaad30859db8b53ffec1f51024d832fd4
Diffstat (limited to 'client/src/com')
-rw-r--r-- | client/src/com/vaadin/client/BrowserInfo.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/BrowserInfo.java b/client/src/com/vaadin/client/BrowserInfo.java index fab393eedc..2f8c70e183 100644 --- a/client/src/com/vaadin/client/BrowserInfo.java +++ b/client/src/com/vaadin/client/BrowserInfo.java @@ -229,6 +229,10 @@ public class BrowserInfo { return isIE() && getBrowserMajorVersion() == 9; } + public boolean isIE10() { + return isIE() && getBrowserMajorVersion() == 10; + } + public boolean isChrome() { return browserDetails.isChrome(); } |