Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox v48.0.2 incompatibility #4

Open
mattnicholson opened this issue Sep 16, 2016 · 0 comments
Open

Firefox v48.0.2 incompatibility #4

mattnicholson opened this issue Sep 16, 2016 · 0 comments

Comments

@mattnicholson
Copy link

Hey,
Love this code. Noticed it wasn't firing on Firefox 48.0.2

It was getting the vendor prefix as '-ms-' instead of '-moz-'.

I updated line #20 to the below (from https://davidwalsh.name/vendor-prefix)

pre = (Array.prototype.slice
                  .call(computed)
                  .join('') 
                  .match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o'])
                )[1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant