Browse Source

fixing JS error

pull/7/head
Pēteris Caune 10 years ago
parent
commit
ce210b69df
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      static/js/index.js

+ 2
- 1
static/js/index.js View File

@ -16,7 +16,8 @@ $(function () {
$("#timer").data("timer", data.timer);
}
if (data.last_ping_human.indexOf("seconds ago") > 0)
var lph = data.last_ping_human;
if (lph && lph.indexOf("seconds ago") > 0)
data.last_ping_human = "seconds ago";
if (data.last_ping_human != lastPingHuman) {


Loading…
Cancel
Save