Skip to content

Commit

Permalink
Fixing igrigorik#609
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiancundari authored Mar 28, 2020
1 parent 884be00 commit 44fda63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,10 @@ function initializeNow(document) {
)[0];
if (oldController) {
oldController.remove();
if (node.vsc) {
delete node.dataset.vscid;
delete node.vsc;
}
}
checkForVideo(node, node.parentNode || mutation.target, true);
}
Expand Down

0 comments on commit 44fda63

Please sign in to comment.