Permalink
Browse files

[WebProfilerBundle] fix wrong variable for profiler counting ajax req…

…uests
  • Loading branch information...
Marin Nicolae authored and nicolas-grekas committed Mar 2, 2018
1 parent acc8da5 commit a977bcee00ed45cb1c925e11ad6302b4b292e37c
Showing with 2 additions and 2 deletions.
  1. +2 −2 Resources/views/Profiler/base_js.html.twig
@@ -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++) {

0 comments on commit a977bce

Please sign in to comment.