Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Jan 14, 2022
1 parent 150abee commit 7a2526d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions views/js/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@
* @member {jQuery} $
*/

[
'myparcel_update_config',
'myparcel_update_delivery_options',
'myparcel_updated_address',
'myparcel_updated_delivery_options',
'myparcel_disable_delivery_options',
'myparcel_show_delivery_options',
'myparcel_hide_delivery_options',
'myparcel_render_delivery_options',
].map((eventName) => document.addEventListener(eventName, (event) => console.log(eventName, event.detail)));

(() => {
/**
* Whether the listeners have been initialized.
Expand All @@ -34,7 +23,6 @@
function createOrMoveDeliveryOptionsForm($wrapper) {
const $form = getDeliveryOptionsFormHandle();

console.log('form', $form, $form?.html());
if ($form) {
// Move the form to the new delivery option
$form.hide();
Expand Down

0 comments on commit 7a2526d

Please sign in to comment.