csuwildcat / csuwildcat/SelectorListener

Firefox v48.0.2 incompatibility

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
207
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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)

``` javascript
pre = (Array.prototype.slice
.call(computed)
.join('')
.match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o'])
)[1];
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.