update function for recognize ie11

This commit is contained in:
jonathan
2015-03-05 10:51:54 -04:00
parent 681dfff07d
commit 90425e7a6e

View File

@@ -33,10 +33,11 @@ function formatAMPM(date, initVal) {
};
function isBrowserIE(){
if(navigator.appName.indexOf("Internet Explorer")!=-1){ //yeah, he's using IE
return true;
}
return false;
if ( (navigator.userAgent.indexOf("MSIE")!=-1) || (navigator.userAgent.indexOf("Trident")!=-1) ){
return true;
} else {
return false;
}
};
Ext.onReady(function(){