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

Skip to content

Commit 0fb83af

Browse files
Marin Nicolaenicolas-grekas
authored andcommitted
[WebProfilerBundle] fix wrong variable for profiler counting ajax requests
1 parent 0c5f839 commit 0fb83af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig

Lines changed: 2 additions & 2 deletions
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++) {

0 commit comments

Comments
 (0)
0