passage à une demi seconde de temps de reconexion (ref #23)

This commit is contained in:
afornerot 2019-10-18 14:10:48 +02:00
parent 33f0d05fb6
commit 7c50db02fd
1 changed files with 1 additions and 2 deletions

View File

@ -236,7 +236,7 @@
var session; var session;
var dateoptions = {weekday: "long", year: "numeric", month: "long", day: "numeric", hour: "2-digit", minute: "2-digit" }; var dateoptions = {weekday: "long", year: "numeric", month: "long", day: "numeric", hour: "2-digit", minute: "2-digit" };
var timer; var timer;
var delayRetry=5000; var delayRetry=500;
var isdeco=false; var isdeco=false;
var tosend=false; var tosend=false;
var tosendmail=false; var tosendmail=false;
@ -443,7 +443,6 @@
$.each(datas, function(i,data) { $.each(datas, function(i,data) {
// Le message a-t-il été déposé durant la déconnexion ? // Le message a-t-il été déposé durant la déconnexion ?
if(!$("#message-"+data.id).length) { if(!$("#message-"+data.id).length) {
console.log("regen message");
html ="<div id='message-"+data.id+"' class='message row'>"; html ="<div id='message-"+data.id+"' class='message row'>";
html+="<div class='msgavatar'>"; html+="<div class='msgavatar'>";
html+="<img id='user_avatar_img' src='/{{ alias }}/uploads/avatar/"+data.useravatar+"' class='avatar'><br>"; html+="<img id='user_avatar_img' src='/{{ alias }}/uploads/avatar/"+data.useravatar+"' class='avatar'><br>";