Skip to content

Commit

Permalink
quickview fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 22, 2023
1 parent 703a065 commit 648afcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _dev/js/theme/components/quickview.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ const handleQuickViewOpen = ({ resp }) => {

body.classList.add('js-quickview-open');

const modalInstance = new window.bootstrap.Modal(productModal);
modalInstance.show();

productModal.addEventListener('hidden.bs.modal', () => {
productModal.remove();
body.classList.remove('js-quickview-open');
Expand Down

0 comments on commit 648afcc

Please sign in to comment.