small fixes
This commit is contained in:
1 parent
ecd96901f4
commit
124774bf9e
2 files changed
+2
-3
No files matched your search
@@ -672,8 +672,7 @@ function stats(data) {
|
||||
var s = data[name];
|
||||
var o = oldstats[name];
|
||||
if (!o|| !s) continue;
|
||||
$('text:contains("'+name+'") + text + text').css('background-color: red');
|
||||
$('text:contains("'+name+'") + text + text')
|
||||
$('text + text:contains("'+name+'") + text')
|
||||
.html('cpu: '
|
||||
+(Math.round((s.cpuacct.usage.data-o.cpuacct.usage.data)
|
||||
/(s.cpuacct.usage.date-o.cpuacct.usage.date)
|
||||
|
||||
Reference in new issue
Block a user