Don't wrap mkwsStatus element's "Retrieved records" in a pointless <span>
authorMike Taylor <mike@indexdata.com>
Fri, 9 May 2014 13:10:35 +0000 (14:10 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 9 May 2014 13:10:35 +0000 (14:10 +0100)
src/mkws-widget-main.js

index 650ed91..a9263ca 100644 (file)
@@ -43,7 +43,7 @@ mkws.registerWidgetType('Stat', function() {
     $(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>');
+                      M('Retrieved records') + ': ' + data.records + '/' + data.hits);
   });
 });