Avoid potential compatibility issue with -moz-prefixed transforms.

See discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1879746

I don't know how to regenerate turn.min.js, help there would be
appreciated.
This commit is contained in:
Emilio Cobos Álvarez 2024-02-11 21:37:08 +01:00
parent 08c1f6599a
commit 6d622da43a

View File

@ -180,6 +180,9 @@ var has3d,
len = vendorPrefixes.length,
vendor = '';
if ('transform' in document.body.style)
return vendor;
while (len--)
if ((vendorPrefixes[len] + 'Transform') in document.body.style)
vendor='-'+vendorPrefixes[len].toLowerCase()+'-';