X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fenv.js;h=b289538a62adedfa0e6da2b93d65c70f2109a053;hp=2e6a0ff5eddf13d614775278dfb6cde2192bacda;hb=e7789c1ad838194d45eeee6ac2eb6e55f5cf35a1;hpb=059b4c2fef02528bf1af189f7996e80652faddfb diff --git a/_source/core/env.js b/_source/core/env.js index 2e6a0ff..b289538 100644 --- a/_source/core/env.js +++ b/_source/core/env.js @@ -71,6 +71,8 @@ if ( !CKEDITOR.env ) quirks : ( document.compatMode == 'BackCompat' ), + mobile : ( agent.indexOf( 'mobile' ) > -1 ), + isCustomDomain : function() { return this.ie && document.domain != window.location.hostname; @@ -176,12 +178,13 @@ if ( !CKEDITOR.env ) * alert( "Your browser is pretty cool!" ); */ env.isCompatible = + !env.mobile && ( ( env.ie && version >= 6 ) || ( env.gecko && version >= 10801 ) || ( env.opera && version >= 9.5 ) || ( env.air && version >= 1 ) || ( env.webkit && version >= 522 ) || - false; + false ); // The CSS class to be appended on the main UI containers, making it // easy to apply browser specific styles to it.