Show More
@@ -217,7 +217,11 b' E.onDOMReady(function(e){' | |||
|
217 | 217 | var d = new Date(x*1000); |
|
218 | 218 | var fd = d.getFullYear()+'-'+(d.getMonth()+1)+'-'+d.getDate(); |
|
219 | 219 | var nr_commits = parseInt(y); |
|
220 | showTooltip(item.pageX, item.pageY, item.series.label + " on " + fd + ": " + nr_commits+" commits"); | |
|
220 | var suffix = ''; | |
|
221 | if(nr_commits > 1){ | |
|
222 | var suffix = 's'; | |
|
223 | } | |
|
224 | showTooltip(item.pageX, item.pageY, item.series.label + " on " + fd + ": " + nr_commits+" commit" + suffix); | |
|
221 | 225 | } |
|
222 | 226 | } |
|
223 | 227 | else { |
General Comments 0
You need to be logged in to leave comments.
Login now