1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 07:15:47 +01:00

Replace var with let.

This commit is contained in:
Juliusz Chroboczek 2024-12-13 18:08:56 +01:00
parent 39c063a9d5
commit a38676c9f6

View file

@ -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":