WebExtension: If no setting is found, leave archive-setting checked.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
42fbf0a55d
commit
08f647f86e
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "remwharead",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
|
||||
"description": "Integrates remwharead into your Browser.",
|
||||
"homepage_url": "https://schlomp.space/tastytea/remwharead",
|
||||
|
|
|
@ -12,7 +12,10 @@ function restore_options()
|
|||
var item = browser.storage.sync.get('archive');
|
||||
item.then((res) =>
|
||||
{
|
||||
document.querySelector("#archive").checked = res.archive;
|
||||
if (res.archive === false)
|
||||
{
|
||||
document.querySelector("#archive").checked = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue