diff --git a/src/options.ts b/src/options.ts index 0a196a9a..ce1f31fb 100644 --- a/src/options.ts +++ b/src/options.ts @@ -460,15 +460,14 @@ function activatePrivateTextChange(element: HTMLElement) { } Config.convertJSON(); - // Reload options on page - init(); - if (newConfig.supportInvidious) { let checkbox = document.querySelector("#support-invidious > label > label > input"); checkbox.checked = true; invidiousOnClick(checkbox, "supportInvidious"); } + + window.location.reload(); } catch (e) { alert(chrome.i18n.getMessage("incorrectlyFormattedOptions"));