Skip to content

Commit

Permalink
Item12952: 1 errors fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
crawford committed Sep 25, 2014
1 parent 67764c3 commit f29fc6f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ function _id_ify(id) {
.first()
.each(
function() {
$whine = $('<div>' + path + ' > ' + r.keys + ' has ' + count + ' ' + level + '</div>');
var s = (count == 1) ?
level.substr(0, level.length - 1) : level;
$whine = $('<div>' + path + ' > ' + r.keys
+ ' has ' + count + ' ' + s + '</div>');
$whine.addClass(level);
$whine.addClass(id + '_report');
$(this).append($whine);
Expand Down

0 comments on commit f29fc6f

Please sign in to comment.