aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls.ts
diff options
context:
space:
mode:
authorTeddy Wing2020-05-24 10:55:09 +0200
committerTeddy Wing2020-05-24 11:07:40 +0200
commit2393b7b44826b2677660fa6dc162371151e00b2c (patch)
tree78de23d6b1696a60e44f55293e9f852495ab16c3 /src/controls.ts
parentea6c52f4c8563503c06e5a91105e34e14ccf53ca (diff)
downloadnetflix-immersive-2393b7b44826b2677660fa6dc162371151e00b2c.tar.bz2
index.ts: Reinitialise when the page changesv0.0.1
Netflix doesn't reload when you change pages, so our listeners don't get reinitialised. This means, when you watch one video, then click the "Back to Browse" button to go back to the /browse page, and select another video, Immersive won't work on the newly-loaded video. Ensure the plugin works in this case by reinitialising when the `popstate` changes.
Diffstat (limited to 'src/controls.ts')
0 files changed, 0 insertions, 0 deletions