Skip to content

Commit

Permalink
whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Oct 31, 2022
1 parent 6061308 commit 1d803cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/js/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async function patchMaskInfo(method = "PATCH", id, data, opts=null) {
return await response.json();
}

async function storeRuntimeData(opts={forceUpdate: false}) {
async function storeRuntimeData(opts={forceUpdate: false}) {
const existingPremiumAvailability = (await browser.storage.local.get("periodicalPremiumPlans")).periodicalPremiumPlans;
// If we already fetched Premium availability in the past seven days,
// don't fetch it again.
Expand Down
3 changes: 1 addition & 2 deletions src/js/popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ const serverStoragePanel = {
);

serverStoragePanel.event.dontShowPanelAgain();

browser.tabs.create({
url: `${relaySiteOrigin}/accounts/profile/?utm_source=fx-relay-addon&utm_medium=popup&utm_content=allow-labels-sync#sync-labels`,
active: true,
Expand All @@ -213,7 +212,7 @@ const serverStoragePanel = {
window.close();
},

dontShowPanelAgain: ()=> {
dontShowPanelAgain: () => {
browser.storage.local.set({ serverStoragePrompt: true });
}
},
Expand Down

0 comments on commit 1d803cd

Please sign in to comment.