diff --git a/disneyplus_pip.js b/disneyplus_pip.js index 9c252f5..28c0d5d 100644 --- a/disneyplus_pip.js +++ b/disneyplus_pip.js @@ -44,7 +44,7 @@ } // Attempt to locate target for PIP button const mediaControlsMutated = (mutations, observer) => { - const target = mediaControlsWrapper.getElementsByClassName("controls__right")[0] ? ? false; + const target = mediaControlsWrapper.getElementsByClassName("controls__right")[0] ?? false; if (!target || target.length < 1) { return false; }