Skip to content

Reduce excessive injection

Compare
Choose a tag to compare
@dideler dideler released this 02 Sep 22:08
· 150 commits to master since this release

Only inject the HTML and CSS needed to toggle comments when we're on a video page.

Because we're listening for a generic event which fires for many different targets, it can also fire on non-video pages. No need to inject on a non-video page since it doesn't have comments!


Changes: v2.0.1...v2.0.2