Skip to content

Commit fa3f838

Browse files
committed
Remove reload confirmation dialog after upload
1 parent 72d3799 commit fa3f838

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

frontend/src/js/upload.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,6 @@
270270
clearPreview();
271271
submitButton.textContent = 'Envoyer';
272272
progressContainer.hidden = true;
273-
274-
// Suggest page reload
275-
if (confirm('Photo envoyée avec succès ! Recharger la page pour voir les changements ?')) {
276-
window.location.reload();
277-
}
278273
}, 2000);
279274

280275
} catch (error) {

0 commit comments

Comments
 (0)