From b8672f1a45dfb257d65f63b35c62597ef6a90627 Mon Sep 17 00:00:00 2001 From: Yusuf Date: Wed, 27 Jul 2022 08:06:14 +0700 Subject: [PATCH] bug fix --- src/function/reportActivity.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/function/reportActivity.js b/src/function/reportActivity.js index f070fc4..eeec2b4 100644 --- a/src/function/reportActivity.js +++ b/src/function/reportActivity.js @@ -21,9 +21,9 @@ function resetFormAddRaMaterial() { $('#btn_add_ra_material').prop("disabled", false); } -var qty = document.getElementById('volume_pekerjaan_material'); - qty.addEventListener('keyup', function (e) { - qty.value = formatRibuanInput(this.value); +var qtyActual = document.getElementById('volume_pekerjaan_material'); + qtyActual.addEventListener('keyup', function (e) { + qtyActual.value = formatRibuanInput(this.value); }); $(document).ready(function () {