Generate mkwsClientCount class instead of "clients".
authorMike Taylor <mike@indexdata.com>
Fri, 9 May 2014 13:05:47 +0000 (14:05 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 9 May 2014 13:05:47 +0000 (14:05 +0100)
src/mkws-widget-main.js

index 8c1fd97..51bd5c1 100644 (file)
@@ -42,7 +42,7 @@ mkws.registerWidgetType('Stat', function() {
 
     $(that.node).html('<span class="head">' + M('Status info') + '</span>' +
                       ' -- ' +
-                      '<span class="clients">' + M('Active clients') + ': ' + data.activeclients + '/' + data.clients + '</span>' +
+                      '<span class="mkwsClientCount">' + M('Active clients') + ': ' + data.activeclients + '/' + data.clients + '</span>' +
                       ' -- ' +
                       '<span class="records">' + M('Retrieved records') + ': ' + data.records + '/' + data.hits + '</span>');
   });