|
@@ -103,6 +103,9 @@ var browser = {
|
|
|
t = e.indexOf('MSIE ')
|
|
|
return t !== -1 || !!navigator.userAgent.match(/Trident.*rv\:11\./)
|
|
|
},
|
|
|
+ detectEdge: function () {
|
|
|
+ return window.navigator.userAgent.indexOf("Edge") > -1;
|
|
|
+ },
|
|
|
detectSafari: function () {
|
|
|
var e = window.navigator.userAgent,
|
|
|
t = e.indexOf('Safari')
|