From b931f1d7752cdd77592269a631961c3128411e4b Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Sun, 31 Jan 2021 19:35:36 +0100 Subject: [PATCH] Fixed Nullish coalescing operator typo ? ? to ?? --- disneyplus_pip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }