From 233cfee0b0bda4376a63e67085e53b60cf61649b Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Fri, 31 Jan 2025 18:36:47 +0330 Subject: [PATCH] plot charts for all statistical tables #466 --- GanjooRazor/wwwroot/js/bk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GanjooRazor/wwwroot/js/bk.js b/GanjooRazor/wwwroot/js/bk.js index 7b88164d..fe8ec542 100644 --- a/GanjooRazor/wwwroot/js/bk.js +++ b/GanjooRazor/wwwroot/js/bk.js @@ -1741,7 +1741,7 @@ function switchTab(evt, tabId) { } function persianToEnglishNumber(str) { - str = str.replace('٬', ''); + str = str.replace(/٬/g, ''); const persianDigits = '۰۱۲۳۴۵۶۷۸۹'; return str.replace(/[۰-۹]/g, d => persianDigits.indexOf(d)); }