8000 [WebProfilerBundle] fix wrong variable for profiler counting ajax req… · symfony/symfony@0fb83af · GitHub
[go: up one dir, main page]

Skip to content

Commit 0fb83af

Browse files
Marin Nicolaenicolas-grekas
Marin Nicolae
authored andcommitted
[WebProfilerBundle] fix wrong variable for profiler counting ajax requests

Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@
108108
var rows = document.createDocumentFragment();
109109
110110
if (requestStack.length) {
111-
var nbOfAjaxRequest = tbodies.rows.length;
111+
var nbOfAjaxRequest = tbody.rows.length;
112112
if (nbOfAjaxRequest >= 100) {
113-
tbodies.deleteRow(nbOfAjaxRequest - 1);
113+
tbody.deleteRow(nbOfAjaxRequest - 1);
114114
}
115115
116116
for (var i = 0; i < requestStack.length; i++) {