Skip to content

Commit

Permalink
Update confirm button CSS classname (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtalcott authored Nov 9, 2024
1 parent 8bfb173 commit 087a9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome_extension/src/scripts/google_photos_content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function handleDeletePhoto(
}

try {
const confirmButton = await waitForElement("[jsshadow] [autofocus]");
const confirmButton = await waitForElement("[data-mdc-dialog-button-default]");
confirmButton.click();
} catch (error) {
chrome.runtime.sendMessage({
Expand Down

0 comments on commit 087a9ed

Please sign in to comment.