Remove some more commented code and console logs
This commit is contained in:
parent
1b14598cc9
commit
859ccd54a6
1 changed files with 0 additions and 6 deletions
|
@ -114,8 +114,6 @@ $(document).ready(function () {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
console.log("has creditcard", hasCreditcard);
|
|
||||||
// hasCreditcard= true;
|
|
||||||
|
|
||||||
var submit_form_btn = $('#payment_button_with_creditcard');
|
var submit_form_btn = $('#payment_button_with_creditcard');
|
||||||
submit_form_btn.on('click', submit_payment);
|
submit_form_btn.on('click', submit_payment);
|
||||||
|
@ -123,11 +121,7 @@ $(document).ready(function () {
|
||||||
|
|
||||||
function submit_payment(e) {
|
function submit_payment(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
console.log("creditcard sdasd");
|
|
||||||
// if (hasCreditcard) {
|
|
||||||
$('#billing-form').submit();
|
$('#billing-form').submit();
|
||||||
// }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue