Bug 510795 - Format lag time more neatly. r=silver@warwickcompsoc.co.uk (James Ross), a=NPOTFFB.
git-svn-id: svn://10.0.0.236/trunk@258571 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2365,7 +2365,7 @@ function serv_pong (e)
|
||||
return true;
|
||||
|
||||
if (this.lastPingSent)
|
||||
this.lag = roundTo ((new Date() - this.lastPingSent) / 1000, 2);
|
||||
this.lag = (new Date() - this.lastPingSent) / 1000;
|
||||
|
||||
this.lastPingSent = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user