From 61c4bb8e08c2f3564956b09352109d1aac0fcebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Ko=C5=82ecki?= Date: Tue, 7 Mar 2023 18:02:05 +0100 Subject: [PATCH] Info format. --- Frontend/assets/scripts/tools/json.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frontend/assets/scripts/tools/json.js b/Frontend/assets/scripts/tools/json.js index 008e7b0..00d68ae 100644 --- a/Frontend/assets/scripts/tools/json.js +++ b/Frontend/assets/scripts/tools/json.js @@ -22,7 +22,7 @@ function formatAndValidateJson(errorElement) { hljs.highlightElement(input); const end = new Date(); - processInfo.innerHTML = "Validation and formatting time: " + (end.getMilliseconds() - start.getMilliseconds()) + "ms"; + processInfo.innerHTML = "Computed in " + (end.getMilliseconds() - start.getMilliseconds()) + "ms"; }) .catch((error) => { processInfo.innerHTML = "" + error + ""; @@ -54,7 +54,7 @@ function minimizeJson(errorElement) { hljs.highlightElement(input); const end = new Date(); - processInfo.innerHTML = "Validation and formatting time: " + (end.getMilliseconds() - start.getMilliseconds()) + "ms"; + processInfo.innerHTML = "Computed in " + (end.getMilliseconds() - start.getMilliseconds()) + "ms"; }) .catch((error) => { processInfo.innerHTML = "" + error + "";