diff --git a/src/assets/js/wish.js b/src/assets/js/wish.js index 615d36ea..3680d8c6 100644 --- a/src/assets/js/wish.js +++ b/src/assets/js/wish.js @@ -110,12 +110,12 @@ $(function () { * Image */ $(document).on('click', '.image.preview', function() { - var modalImage = $('.modal.image'); + var modalImage = $('.modal.preview'); modalImage .modal({ onApprove: function(buttonApprove) { - var formImage = modalImage.find('form.image'); + var formImage = modalImage.find('form.preview'); var formData = new URLSearchParams(new FormData(formImage[0])); formImage.addClass('loading'); diff --git a/src/pages/wish.php b/src/pages/wish.php index 98854ccc..d49b2a11 100644 --- a/src/pages/wish.php +++ b/src/pages/wish.php @@ -134,15 +134,15 @@ $referer = '/?page=wishlists&wishlist=' . $wish->wishlist; - -