From 1c08c02c5646499abb70f025e374ceb4517df311 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 9 May 2014 14:07:33 +0100 Subject: [PATCH] Do not emit static "Status info" text in the Stat widget: leave it to the CSS. --- src/mkws-widget-main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index 51bd5c1..650ed91 100644 --- a/src/mkws-widget-main.js +++ b/src/mkws-widget-main.js @@ -40,8 +40,7 @@ mkws.registerWidgetType('Stat', function() { this.team.queue("stat").subscribe(function(data) { if (that.node.length === 0) alert("huh?!"); - $(that.node).html('' + M('Status info') + '' + - ' -- ' + + $(that.node).html(' -- ' + '' + M('Active clients') + ': ' + data.activeclients + '/' + data.clients + '' + ' -- ' + '' + M('Retrieved records') + ': ' + data.records + '/' + data.hits + ''); -- 1.7.10.4