diff --git a/src/Resources/public/js/wishlist-action-handler.js b/src/Resources/public/js/wishlist-action-handler.js index df16815..4974a3e 100644 --- a/src/Resources/public/js/wishlist-action-handler.js +++ b/src/Resources/public/js/wishlist-action-handler.js @@ -64,3 +64,5 @@ class WishlistActionHandler { }); } } + +new WishlistActionHandler(window.ssWishlist || {}); diff --git a/src/Resources/views/shop/_javascripts.html.twig b/src/Resources/views/shop/_javascripts.html.twig index 6ff7b03..172a947 100644 --- a/src/Resources/views/shop/_javascripts.html.twig +++ b/src/Resources/views/shop/_javascripts.html.twig @@ -1,4 +1 @@ - - +