weird header stuff

This commit is contained in:
pacnpal
2024-11-03 22:03:56 +00:00
parent ed585e6a56
commit 07526dcba8
34 changed files with 5047 additions and 185 deletions

View File

@@ -122,7 +122,7 @@ document.addEventListener('alpine:init', () => {
uploadProgress: 0,
error: null,
showCaptionModal: false,
editingPhoto: null,
editingPhoto: { caption: '' },
get canAddMorePhotos() {
return this.photos.length < maxFiles;
@@ -234,7 +234,7 @@ document.addEventListener('alpine:init', () => {
);
this.showCaptionModal = false;
this.editingPhoto = null;
this.editingPhoto = { caption: '' };
} catch (err) {
this.error = err.message || 'Failed to update caption';
console.error('Caption update error:', err);