Skip to content

Commit

Permalink
use default capture format
Browse files Browse the repository at this point in the history
  • Loading branch information
tdraier committed Nov 21, 2024
1 parent deb6b89 commit a6a3f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/app/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ chrome.contextMenus.onClicked.addListener(async (event, tab) => {
});

function capture(sendResponse: (x: CaptureResponse) => void) {
return chrome.tabs.captureVisibleTab({ format: "png" }, function (dataURI) {
return chrome.tabs.captureVisibleTab(function (dataURI) {
if (dataURI) {
sendResponse({ dataURI });
}
Expand Down

0 comments on commit a6a3f6b

Please sign in to comment.