Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kesselborn committed Jan 17, 2019
1 parent f8e210b commit dabb434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conex-background.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ const storeScreenshot = async function(tabId, changeInfo, tab) {
try {
let imageData = null;
if(settings['create-thumbnail']) {
console.debug(`capturing tab for ${cleanUrl}`);
console.debug(`capturing tab for ${cleanedUrl}`);
imageData = await browser.tabs.captureTab(tab.id, { format: 'jpeg', quality: imageQuality });
}
if(settings['show-favicons'] || settings['create-thumbnail']) {
console.debug(` storing captured image for tab for ${cleanUrl}`);
console.debug(` storing captured image for tab for ${cleanedUrl}`);
await browser.storage.local.set({ [cleanedUrl]: { thumbnail: imageData, favicon: tab.favIconUrl } });
console.debug(` succesfully created thumbnail for ${cleanedUrl}`);
}
Expand Down

0 comments on commit dabb434

Please sign in to comment.