From d982b92e83b9a552d353053d42895fa01790d210 Mon Sep 17 00:00:00 2001 From: afnanramadhan <13521011@std.stei.itb.ac.id> Date: Mon, 9 Oct 2023 10:09:00 +0700 Subject: [PATCH] fix paging, search meals --- public/js/meals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/meals.js b/public/js/meals.js index 26643c1..030e122 100644 --- a/public/js/meals.js +++ b/public/js/meals.js @@ -168,7 +168,7 @@ const type = () =>{ xhttp.onreadystatechange = function() { if (this.readyState === 4){ let response = this.response; - console.log(response); + // console.log(response); const startIndex = response.indexOf('['); const jsonStr = response.substring(startIndex); console.log(jsonStr); -- GitLab