Skip to content

Firefox v48.0.2 incompatibility #4

Description

@mattnicholson

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];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions