From ceae47a1a97bf2551b5f5f4dd3b31a3158c6206e Mon Sep 17 00:00:00 2001 From: pixeltris <6952411+pixeltris@users.noreply.github.com> Date: Thu, 31 Mar 2022 16:49:41 +0100 Subject: [PATCH] Remove missing whitespace from "vaft" --- vaft/vaft-ublock-origin.js | 1 - vaft/vaft.user.js | 1 - 2 files changed, 2 deletions(-) diff --git a/vaft/vaft-ublock-origin.js b/vaft/vaft-ublock-origin.js index 9e7bcd2..49dab7f 100644 --- a/vaft/vaft-ublock-origin.js +++ b/vaft/vaft-ublock-origin.js @@ -565,7 +565,6 @@ twitch-videoad.js application/javascript } videoPlayer = findReactNode(reactRootNode, node => node.setPlayerActive && node.props && node.props.mediaPlayerInstance); videoPlayer = videoPlayer && videoPlayer.props && videoPlayer.props.mediaPlayerInstance ? videoPlayer.props.mediaPlayerInstance : null; - if (isPausePlay) { videoPlayer.pause(); videoPlayer.play(); diff --git a/vaft/vaft.user.js b/vaft/vaft.user.js index 6cdbcfa..ad0e38a 100644 --- a/vaft/vaft.user.js +++ b/vaft/vaft.user.js @@ -576,7 +576,6 @@ } videoPlayer = findReactNode(reactRootNode, node => node.setPlayerActive && node.props && node.props.mediaPlayerInstance); videoPlayer = videoPlayer && videoPlayer.props && videoPlayer.props.mediaPlayerInstance ? videoPlayer.props.mediaPlayerInstance : null; - if (isPausePlay) { videoPlayer.pause(); videoPlayer.play();