diff --git a/src/options/options.js b/src/options/options.js index b1e6a5c..0fd8c73 100644 --- a/src/options/options.js +++ b/src/options/options.js @@ -15,7 +15,7 @@ function saveOptions(e) { function restoreOptions() { async function setCurrentChoice(result) { - if (Object.keys(result).length == 0) { + if (!result.statusVisibility) { await defaultOptions(); } else { document.querySelector("#logging").checked = result.logging || false;