From 164ca7f48abda835bb482653872a99915d1da403 Mon Sep 17 00:00:00 2001 From: Aleksander Smirnoff Date: Mon, 24 Aug 2020 17:03:03 +0300 Subject: [PATCH] Update adminMongo.js --- public/js/adminMongo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/adminMongo.js b/public/js/adminMongo.js index a8eb9b1..5f42955 100644 --- a/public/js/adminMongo.js +++ b/public/js/adminMongo.js @@ -110,7 +110,7 @@ $(document).ready(function(){ val = parseInt(val); }else{ // if we find an integer wrapped in quotes - var strIntReg = new RegExp('^"[0-9]"+$'); + var strIntReg = new RegExp('^"[0-9]+"$'); if(val.match(strIntReg)){ val = val.replace(/"/g, ''); }