From a38676c9f67061ed387010ef1e4b726d47d29d56 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Fri, 13 Dec 2024 18:08:56 +0100 Subject: [PATCH] Replace var with let. --- static/galene.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/galene.js b/static/galene.js index f43eb56..6aa2568 100644 --- a/static/galene.js +++ b/static/galene.js @@ -4054,8 +4054,8 @@ document.getElementById('resizer').addEventListener('mousedown', chatResizer, fa function displayError(message, level) { if(!level) level = "error"; - var position = 'center'; - var gravity = 'top'; + let position = 'center'; + let gravity = 'top'; switch(level) { case "info":