Skip to content

Commit

Permalink
removed last jquery import in core script
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 3, 2023
1 parent f376718 commit 3537aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _dev/js/theme/core/selectors.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import prestashop from 'prestashop';
import $ from 'jquery';
import DOMReady from "../utils/DOMReady";

prestashop.selectors = {
quantityWanted: '#quantity_wanted',
Expand Down Expand Up @@ -133,6 +133,6 @@ prestashop.selectors = {
},
};

$(() => {
DOMReady(() => {
prestashop.emit('selectorsInit');
});

0 comments on commit 3537aa5

Please sign in to comment.