From 92577330b6b82175174349978b23d84c92121bd4 Mon Sep 17 00:00:00 2001 From: Vansh Comar Date: Thu, 18 Nov 2021 12:29:58 +0530 Subject: [PATCH] Correcting syntax --- app/static/js/currency.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/currency.js b/app/static/js/currency.js index 2606ce7..260e9ab 100644 --- a/app/static/js/currency.js +++ b/app/static/js/currency.js @@ -4,7 +4,7 @@ function Convert(n1, n2, conversion_factor) { id2 = "cb" + n2; // getting the value of the input box that just got filled - var input_box = document.getElementById(id1).value + var input_box = document.getElementById(id1).value; // updating the other input box after conversion document.getElementById(id2).value = ((input_box * conversion_factor).toFixed(2));