summaryrefslogtreecommitdiffstats
path: root/templates/statistics/memory.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/statistics/memory.html')
-rw-r--r--templates/statistics/memory.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/statistics/memory.html b/templates/statistics/memory.html
index b9ee77fb..1ebfbae0 100644
--- a/templates/statistics/memory.html
+++ b/templates/statistics/memory.html
@@ -12,7 +12,7 @@
<th class="text-right">{{lang_machineCount}}</th>
</tr>
{{#rows}}
- <tr id="ramid{{gb}}">
+ <tr id="ramid{{gb}}" class="{{class}}">
<td class="text-left slx-nowrap"><a href="?do=Statistics&amp;filter=gbram&amp;argument={{gb}}">{{gb}}&thinsp;GiB</a></td>
<td class="text-right">{{count}}</td>
</tr>
@@ -29,8 +29,8 @@
animation: false,
tooltipTemplate: "<%if (label){%><%=label%><%}%>",
customTooltips: function(tooltip) {
+ if (sel !== false) sel.removeClass('info');
if (!tooltip) {
- if (sel !== false) sel.removeClass('info');
sel = false;
return;
}