Skip to content

Commit

Permalink
[FIXED JENKINS-19171] Identify user agent for Internet Explorer 11.
Browse files Browse the repository at this point in the history
(cherry picked from commit a184ef5)
  • Loading branch information
jglick authored and olivergondza committed Sep 17, 2013
1 parent 36ef7c6 commit 1a7841b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions war/src/main/webapp/scripts/yui/yahoo/yahoo-debug.js
Expand Up @@ -518,9 +518,9 @@ YAHOO.env.parseUA = function(agent) {
o.mobile = m[0]; // ex: Opera Mini/2.0.4509/1316
}
} else { // not opera or webkit
m = ua.match(/MSIE\s([^;]*)/);
if (m && m[1]) {
o.ie = numberify(m[1]);
m = ua.match(/MSIE ([^;]*)|Trident.*; rv:([0-9.]+)/);
if (m && (m[1] || m[2])) {
o.ie = numberify(m[1] || m[2]);
} else { // not opera, webkit, or ie
m = ua.match(/Gecko\/([^\s]*)/);
if (m) {
Expand Down
2 changes: 1 addition & 1 deletion war/src/main/webapp/scripts/yui/yahoo/yahoo-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1a7841b

Please sign in to comment.