billing: Use this.value instead of .val().

This change is mostly for making testing easier.
This commit is contained in:
Vishnu Ks 2019-01-30 12:59:19 +00:00 committed by Rishi Gupta
parent ab97a84f3a
commit 5f0492b3b1
1 changed files with 2 additions and 2 deletions

View File

@ -44,11 +44,11 @@ exports.initialize = () => {
prices.monthly = page_params.monthly_price * (1 - page_params.percent_off / 100);
$('input[type=radio][name=license_management]').on("change", function () {
helpers.show_license_section($(this).val());
helpers.show_license_section(this.value);
});
$('input[type=radio][name=schedule]').on("change", function () {
helpers.update_charged_amount(prices, $(this).val());
helpers.update_charged_amount(prices, this.value);
});
$("#autopay_annual_price").text(helpers.format_money(prices.annual));