Ticket #5885: 5885.patch

File 5885.patch, 673 bytes (added by Wiktor Walc, 14 years ago)
  • _source/core/env.js

     
    7373
    7474                        mobile : ( agent.indexOf( 'mobile' ) > -1 ),
    7575
     76                        iphone : ( agent.indexOf( 'iphone' ) > -1 ),
     77
     78                        ipad : ( agent.indexOf( 'ipad' ) > -1 ),
     79
    7680                        isCustomDomain : function()
    7781                        {
    7882                                var domain = document.domain,
     
    183187                 *     alert( "Your browser is pretty cool!" );
    184188                 */
    185189                env.isCompatible =
     190                        !env.ipad &&
     191                        !env.iphone &&
    186192                        !env.mobile && (
    187193                        ( env.ie && version >= 6 ) ||
    188194                        ( env.gecko && version >= 10801 ) ||
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy