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:
parent
39c063a9d5
commit
a38676c9f6
1 changed files with 2 additions and 2 deletions
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue