Skip to content

Commit 541d6e9

Browse files
committed
Fix user-select prefix finding in Firefox
1 parent a398097 commit 541d6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/getPrefix.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function getPrefix(prop: string='transform'): string {
1111
if (prop in style) return '';
1212

1313
for (let i = 0; i < prefixes.length; i++) {
14-
if (browserPrefixToStyle(prop, prefixes[i]) in style) return prefixes[i];
14+
if (browserPrefixToKey(prop, prefixes[i]) in style) return prefixes[i];
1515
}
1616

1717
return '';

0 commit comments

Comments
 (0)