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 {