From 214537efdb8700664a5492d8b2d5abcd21001770 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 6 Mar 2014 15:39:59 -0600 Subject: [PATCH] Fix AFK count in usercount breakdown hover --- www/js/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/util.js b/www/js/util.js index 4de20da7..76cc410c 100644 --- a/www/js/util.js +++ b/www/js/util.js @@ -358,7 +358,7 @@ function calcUserBreakdown() { total++; - if($(item).find(".icon-time").length > 0) + if($(item).data("afk")) breakdown["AFK"]++; });