warble-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject [incubator-warble-server] 05/05: regen JS
Date Sun, 01 Jul 2018 14:58:25 GMT
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-warble-server.git

commit fa26696793fb7998ca7c207780d556f8006f63d9
Author: Daniel Gruno <humbedooh@apache.org>
AuthorDate: Sun Jul 1 09:58:13 2018 -0500

    regen JS
---
 ui/js/warble.v1.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/js/warble.v1.js b/ui/js/warble.v1.js
index e3865bb..a0d221a 100644
--- a/ui/js/warble.v1.js
+++ b/ui/js/warble.v1.js
@@ -4861,7 +4861,7 @@ clientlist = function(json, state) {
       now = new Date();
       line.inject([new HTML('b', {}, "Last Active: "), txt(moment(lp).fromNow() + " (" +
lp.ISOBare() + ")")]);
       d.inject(line);
-      if (moment(now).unix() - moment(lp).unix() > 900) {
+      if (source.enabled && (moment(now).unix() - moment(lp).unix() > 900)) {
         card.setAttribute("class", "clientcard red");
         line.inject(txt(" - Node dead?!"));
         lline.inject(txt(" - (no contact for > 15 minutes!)"));


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@warble.apache.org
For additional commands, e-mail: commits-help@warble.apache.org


Mime
View raw message