summaryrefslogtreecommitdiff
path: root/resources/lib/jquery.client/jquery.client.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/jquery.client/jquery.client.js')
-rw-r--r--resources/lib/jquery.client/jquery.client.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/resources/lib/jquery.client/jquery.client.js b/resources/lib/jquery.client/jquery.client.js
index 1560c7d2..8257d85b 100644
--- a/resources/lib/jquery.client/jquery.client.js
+++ b/resources/lib/jquery.client/jquery.client.js
@@ -1,5 +1,5 @@
/*!
- * jQuery Client v1.0.0
+ * jQuery Client v2.0.0
* https://www.mediawiki.org/wiki/JQuery_Client
*
* Copyright 2010-2015 jquery-client maintainers and other contributors.
@@ -182,9 +182,12 @@
version = match[1];
}
}
- // And IE 12's different lies about not being IE
+ // And MS Edge's lies about being Chrome
+ //
+ // It's different enough from classic IE Trident engine that they do this
+ // to avoid getting caught by MSIE-specific browser sniffing.
if ( name === 'chrome' && ( match = ua.match( /\bedge\/([0-9\.]*)/ ) ) ) {
- name = 'msie';
+ name = 'edge';
version = match[1];
layout = 'edge';
layoutversion = parseInt( match[1], 10 );