Do not emit static "Status info" text in the Stat widget: leave it to the CSS.
[mkws-moved-to-github.git] / src / mkws-widget-main.js
index 51bd5c1..650ed91 100644 (file)
@@ -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('<span class="head">' + M('Status info') + '</span>' +
-                      ' -- ' +
+    $(that.node).html(' -- ' +
                       '<span class="mkwsClientCount">' + M('Active clients') + ': ' + data.activeclients + '/' + data.clients + '</span>' +
                       ' -- ' +
                       '<span class="records">' + M('Retrieved records') + ': ' + data.records + '/' + data.hits + '</span>');