mirror of
https://github.com/blasten/turn.js.git
synced 2025-05-17 01:11:29 +08:00
Merge 6d622da43a97271571ac67e13d31c4f08b69b3bd into 08c1f6599a1412b145c7bf645a1f28c14db12742
This commit is contained in:
commit
991ae17e0e
3
turn.js
3
turn.js
@ -180,6 +180,9 @@ var has3d,
|
|||||||
len = vendorPrefixes.length,
|
len = vendorPrefixes.length,
|
||||||
vendor = '';
|
vendor = '';
|
||||||
|
|
||||||
|
if ('transform' in document.body.style)
|
||||||
|
return vendor;
|
||||||
|
|
||||||
while (len--)
|
while (len--)
|
||||||
if ((vendorPrefixes[len] + 'Transform') in document.body.style)
|
if ((vendorPrefixes[len] + 'Transform') in document.body.style)
|
||||||
vendor='-'+vendorPrefixes[len].toLowerCase()+'-';
|
vendor='-'+vendorPrefixes[len].toLowerCase()+'-';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user