Skip to content

Firefox v48.0.2 incompatibility #4

@mattnicholson

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

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