Skip to content

Commit

Permalink
Removed jquery form product entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 12, 2023
1 parent f1885f0 commit db815db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _dev/js/product/components/ProductGallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ class ProductGallery {
}
};

// TO REFACTO LATER WITH BS5 REMOVE JQUERY!
$(this.galleryModalSelector).on('show.bs.modal', handleModalOpen);
document.querySelector(this.galleryModalSelector).addEventListener('show.bs.modal', handleModalOpen);
}
}

Expand Down

0 comments on commit db815db

Please sign in to comment.