Skip to content

Commit

Permalink
Added one decimal of precision to memory pies (avg).
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuckaby committed May 17, 2018
1 parent 16a61ef commit 01d71a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/js/pages/JobDetails.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ Class.subclass( Page.Base, "Page.JobDetails", {

// arch mem overlay
var html = '';
html += '<div class="pie-overlay-title">'+get_text_from_bytes(mem_avg, 1)+'</div>';
html += '<div class="pie-overlay-title">'+get_text_from_bytes(mem_avg, 10)+'</div>';
html += '<div class="pie-overlay-subtitle">Average</div>';
$('#d_arch_mem_overlay').html( html );

Expand Down Expand Up @@ -1204,7 +1204,7 @@ Class.subclass( Page.Base, "Page.JobDetails", {

// live mem overlay
var html = '';
html += '<div class="pie-overlay-title">'+get_text_from_bytes(mem_cur, 1)+'</div>';
html += '<div class="pie-overlay-title">'+get_text_from_bytes(mem_cur, 10)+'</div>';
html += '<div class="pie-overlay-subtitle">Current</div>';
$('#d_live_mem_overlay').html( html );

Expand Down

0 comments on commit 01d71a3

Please sign in to comment.