diff --git a/booking.stripe.js b/booking.stripe.js index 7ae49e9..d8d9c29 100644 --- a/booking.stripe.js +++ b/booking.stripe.js @@ -15,7 +15,7 @@ jQuery(document).ready(function($) { } catch(err) { //console.log([err]); - msg(err); + alert(err); } // Use the token to create the charge with a server-side script. @@ -35,7 +35,7 @@ jQuery(document).ready(function($) { // return; var settings = Drupal.settings.booking_stripe; var $stripeForm = $("#" + settings.form_selector); - msg($(':input[name="description"]', $stripeForm)); + alert($(':input[name="description"]', $stripeForm)); handler.open({ name: settings.name, //description: currentForm.find('input[name="description"]').val(),