(not) impressive mobile detection and forcing fallback mode for iOS and Android (as they support CSS 3D transforms)
This commit is contained in:
@@ -85,7 +85,9 @@
|
||||
|
||||
// CHECK SUPPORT
|
||||
|
||||
var impressSupported = (pfx("perspective") != null);
|
||||
var ua = navigator.userAgent.toLowerCase();
|
||||
var impressSupported = ( pfx("perspective") != null ) &&
|
||||
( ua.search(/(iphone)|(ipod)|(ipad)|(android)/) == -1 );
|
||||
|
||||
// DOM ELEMENTS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user