[WebProfilerBundle] fix wrong variable for profiler counting ajax requests

This commit is contained in:
Marin Nicolae 2018-03-02 12:25:15 +00:00 committed by Nicolas Grekas
parent 0c5f8391f9
commit 0fb83af015
1 changed files with 2 additions and 2 deletions

View File

@ -108,9 +108,9 @@
var rows = document.createDocumentFragment();
if (requestStack.length) {
var nbOfAjaxRequest = tbodies.rows.length;
var nbOfAjaxRequest = tbody.rows.length;
if (nbOfAjaxRequest >= 100) {
tbodies.deleteRow(nbOfAjaxRequest - 1);
tbody.deleteRow(nbOfAjaxRequest - 1);
}
for (var i = 0; i < requestStack.length; i++) {