diff --git a/src/Resources/queries/widget.js b/src/Resources/queries/widget.js index 242565ac..2c6a0513 100644 --- a/src/Resources/queries/widget.js +++ b/src/Resources/queries/widget.js @@ -343,7 +343,7 @@ const $li = $('
  • ').addClass(csscls('table-list-item')); const $muted = $('').addClass(css('text-muted')); - values.forEach((value, i) => { + $.each(values, (i, value) => { if (showLineNumbers) { $ul.append($li.clone().append([$muted.clone().text(`${i}:`), ' ', $('').text(value)])); } else {