From 1e6b013507f6a7585ccf908cb5c0155a37877914 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 22 Apr 2023 22:47:20 +0100 Subject: [PATCH] add missing const --- js/pis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/pis.js b/js/pis.js index 26a48b6..dbf13cb 100644 --- a/js/pis.js +++ b/js/pis.js @@ -48,7 +48,7 @@ async function insertData(json) { } async function noData() { - msg = '

No results found

' + const msg = '

No results found

' document.getElementById('result-box').insertAdjacentHTML("beforeend", msg) }