From 193166f76867c6ba08e65e05081c3cc23cf5df56 Mon Sep 17 00:00:00 2001 From: helamanl0424 Date: Tue, 9 Apr 2024 15:26:22 -0600 Subject: [PATCH] Fallback to use only the URL to add photo --- samples/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/index.js b/samples/index.js index 72746c1..34faa79 100644 --- a/samples/index.js +++ b/samples/index.js @@ -264,7 +264,7 @@ async function toggleControlPanel(showDefaultButtons) { controlPanel.innerHTML = ''; // Clear existing buttons addButton('back', 'Back', backAction); if (showDefaultButtons) { - addButton('addPhoto', 'Add photo', addPhotoAction2); + addButton('addPhoto', 'Add photo', addPhotoAction); addButton('addFolder', 'Add folder', addFolderAction); addButton('deleteFolder', 'Delete folder', deleteFolderAction); } else {