Skip to content

Commit

Permalink
0.6.0b3
Browse files Browse the repository at this point in the history
  • Loading branch information
claustromaniac committed Jan 15, 2019
1 parent 08e3392 commit 1755b81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bg/classes.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class Settings {
let saved = await data.get(this.defaults);
this.all = saved;
await data.set(saved);
if (this.ignorePeriod) data.get().then(r => {
this.ignored = r.ignored;
if (this.ignorePeriod) await data.get().then(r => {
if (r.ignored) this.ignored = r.ignored;
});
browser.storage.onChanged.addListener((changes, area) => {
console.debug(`HTTPZ: ${area} storage changed`);
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "0.6.0b2"
"version": "0.6.0b3"
}
2 changes: 1 addition & 1 deletion src/pages/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ browser.tabs.query({active: true, currentWindow: true}).then(tabs => {
const url = new URL(tab.url);
if (url.protocol === 'https:') {
ui.info.textContent = `${url.hostname} was automatically redirected to HTTPS. Click the button below to whitelist this site and reload the tab in HTTP.`;
ui.whitelist.textContent = 'whitelist';
ui.whitelist.textContent = 'add to whitelist';
ui.whitelist.onclick = e => {
ui.whitelist.disabled = true;
browser.runtime.sendMessage({host: url.hostname, value: true}).then(() => {
Expand Down

0 comments on commit 1755b81

Please sign in to comment.