ElEditors, Interface administrators, Administrators
70,868
edits
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 154: | Line 154: | ||
start_timer('EU', 'CET'); | start_timer('EU', 'CET'); | ||
} | } | ||
function | function isApple() { | ||
return [ | return [ | ||
'iPad Simulator', | 'iPad Simulator', | ||
Line 164: | Line 164: | ||
].includes(navigator.platform) | ].includes(navigator.platform) | ||
// iPad on iOS 13 detection | // iPad on iOS 13 detection | ||
|| (navigator.userAgent.includes("Mac") | || (navigator.userAgent.includes("Mac")) | ||
} | } | ||
if ( | if (isApple()) $('.boss-timer').hide(); | ||
}); | }); |