From 3e08d014aa570efa421675ebb1be65d85f8c4442 Mon Sep 17 00:00:00 2001 From: Tyr Heimdal Date: Mon, 23 Jan 2023 20:25:41 +0100 Subject: [PATCH] Add missing semicolons in #104 Signed-off-by: Tyr Heimdal --- js/app/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app/util.js b/js/app/util.js index 6be9f832..2edaf8f9 100644 --- a/js/app/util.js +++ b/js/app/util.js @@ -953,8 +953,8 @@ define([ */ const unicodeToString = (text) => { const result = text.replace(/\\u[\dA-F]{4}/gi, (match) => String.fromCharCode(parseInt(match.replace(/\\u/g, ''), 16))) - return result.substring(0, 2) == "u'" ? result.substring(2, result.length - 1) : result - } + return result.substring(0, 2) == "u'" ? result.substring(2, result.length - 1) : result; + }; /** * polyfill for "passive" events