diff options
author | Artur Signell <artur.signell@itmill.com> | 2011-04-15 09:50:18 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2011-04-15 09:50:18 +0000 |
commit | 3d58df6b168201bb7ac035aaaa1a198391c7e527 (patch) | |
tree | b6574fbc58034adec27b686b7ababbe573ffd6c3 /src/com | |
parent | ab638f468b0197feb2a04d83f07e44df7e63a0f1 (diff) | |
download | vaadin-framework-3d58df6b168201bb7ac035aaaa1a198391c7e527.tar.gz vaadin-framework-3d58df6b168201bb7ac035aaaa1a198391c7e527.zip |
#5546 Method for checking if browser is IE9
svn changeset:18316/svn branch:6.6
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/BrowserInfo.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/BrowserInfo.java b/src/com/vaadin/terminal/gwt/client/BrowserInfo.java index e4dd61b0b9..141a05ffdb 100644 --- a/src/com/vaadin/terminal/gwt/client/BrowserInfo.java +++ b/src/com/vaadin/terminal/gwt/client/BrowserInfo.java @@ -193,6 +193,10 @@ public class BrowserInfo { return isIE() && browserDetails.getBrowserMajorVersion() == 8; } + public boolean isIE9() { + return isIE() && browserDetails.getBrowserMajorVersion() == 9; + } + public boolean isChrome() { return browserDetails.isChrome(); } |