update function for recognize ie11
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user