X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=resources%2Flib%2Fjquery.client%2Fjquery.client.js;h=8257d85bc75b9c6e96b1307d051f9294a69ea937;hb=a8e1051d4c47f8c5b2c55b072f903fdc0469849e;hp=1560c7d2f4f1b3d707b9ae84a8c96384ac05fcc1;hpb=b8f78c331c07efacaedb3d054771e2428280f2ea;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/lib/jquery.client/jquery.client.js b/resources/lib/jquery.client/jquery.client.js index 1560c7d2f4..8257d85bc7 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 );