diff --git a/docs/js/docs.js b/docs/js/docs.js index 9d876e1e..f661bcbc 100644 --- a/docs/js/docs.js +++ b/docs/js/docs.js @@ -216,13 +216,16 @@ // append hidden parsed value to cell // used by feet-inch-fraction & metric parser demos window.addParsedValues = function($t, cols, format){ - var r, + var r, val, $r = $t.find('tbody tr'), c = $t[0].config.cache[0].normalized; $r.each(function(i){ r = this; $.each(cols, function(v,j){ - r.cells[j].innerHTML += ' '; + val = format ? format(c[i][j]) : c[i][j]; + if (val !== '') { + r.cells[j].innerHTML += ' '; + } }); });