update function for recognize ie11
This commit is contained in:
@@ -33,10 +33,11 @@ function formatAMPM(date, initVal) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function isBrowserIE(){
|
function isBrowserIE(){
|
||||||
if(navigator.appName.indexOf("Internet Explorer")!=-1){ //yeah, he's using IE
|
if ( (navigator.userAgent.indexOf("MSIE")!=-1) || (navigator.userAgent.indexOf("Trident")!=-1) ){
|
||||||
return true;
|
return true;
|
||||||
}
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Ext.onReady(function(){
|
Ext.onReady(function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user