1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 15:25:48 +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) { function displayError(message, level) {
if(!level) if(!level)
level = "error"; level = "error";
var position = 'center'; let position = 'center';
var gravity = 'top'; let gravity = 'top';
switch(level) { switch(level) {
case "info": case "info":