some iPad love

This commit is contained in:
Bartek Szopka
2012-02-15 21:46:00 +01:00
parent 5a2e369117
commit 2b22ee3b4b
2 changed files with 5 additions and 2 deletions

View File

@@ -98,7 +98,9 @@
var ua = navigator.userAgent.toLowerCase();
var impressSupported = ( pfx("perspective") != null ) &&
( ua.search(/(iphone)|(ipod)|(ipad)|(android)/) == -1 );
( document.body.classList ) &&
( document.body.dataset ) &&
( ua.search(/(iphone)|(ipod)|(android)/) == -1 );
var roots = {};