Fixed Nullish coalescing operator typo

? ? to ??
This commit is contained in:
Victor Westerlund 2021-01-31 19:35:36 +01:00
parent e8013c0ea1
commit b931f1d775

View file

@ -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;
}