We were only looking at its children but we may also get an audio/video element added directly
Details
Details
- Reviewers
fvogt davidedmundson - Group Reviewers
Plasma - Commits
- R856:a5c049a1a6c6: Handle when the added node itself is audio/video
5.13 branch
Fixes media controls on SoundCloud for me
Diff Detail
Diff Detail
- Repository
- R856 Plasma Browser Integration
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I expected that querySelectorAll also looks at the element itself, apparently that's not the case...
extension/content-script.js | ||
---|---|---|
367 | I only notice now how stupid this function call actually is... |