1
0
mirror of https://github.com/pixeltris/TwitchAdSolutions.git synced 2024-11-22 10:22:51 +01:00

Remove missing whitespace from "vaft"

This commit is contained in:
pixeltris 2022-03-31 16:49:41 +01:00
parent bd96135e24
commit ceae47a1a9
2 changed files with 0 additions and 2 deletions

View File

@ -565,7 +565,6 @@ twitch-videoad.js application/javascript
} }
videoPlayer = findReactNode(reactRootNode, node => node.setPlayerActive && node.props && node.props.mediaPlayerInstance); videoPlayer = findReactNode(reactRootNode, node => node.setPlayerActive && node.props && node.props.mediaPlayerInstance);
videoPlayer = videoPlayer && videoPlayer.props && videoPlayer.props.mediaPlayerInstance ? videoPlayer.props.mediaPlayerInstance : null; videoPlayer = videoPlayer && videoPlayer.props && videoPlayer.props.mediaPlayerInstance ? videoPlayer.props.mediaPlayerInstance : null;
if (isPausePlay) { if (isPausePlay) {
videoPlayer.pause(); videoPlayer.pause();
videoPlayer.play(); videoPlayer.play();

View File

@ -576,7 +576,6 @@
} }
videoPlayer = findReactNode(reactRootNode, node => node.setPlayerActive && node.props && node.props.mediaPlayerInstance); videoPlayer = findReactNode(reactRootNode, node => node.setPlayerActive && node.props && node.props.mediaPlayerInstance);
videoPlayer = videoPlayer && videoPlayer.props && videoPlayer.props.mediaPlayerInstance ? videoPlayer.props.mediaPlayerInstance : null; videoPlayer = videoPlayer && videoPlayer.props && videoPlayer.props.mediaPlayerInstance ? videoPlayer.props.mediaPlayerInstance : null;
if (isPausePlay) { if (isPausePlay) {
videoPlayer.pause(); videoPlayer.pause();
videoPlayer.play(); videoPlayer.play();