Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up from mediaelement#779 and mediaelement#788
mediaelement#788 tried to fix part of what mediaelement#779 did, but didn't acknowledge that `mejs.players` is no longer an array, being an object now (a change introduced by mediaelement#779). As such, remove() now throws a "splice is not defined" error at that point. This fix replaces the line added by mediaelement#788 with mediaelement#779's equivalent, but preserves (and rectifies) the comment above.
- Loading branch information