Skip to content

Commit 710a189

Browse files
Merge branch '2.7' into 2.8
* 2.7: [WebProfilerBundle] fix wrong variable for profiler counting ajax requests
2 parents aa8254c + 79e8545 commit 710a189

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
@@ -111,9 +111,9 @@
111111
var rows = document.createDocumentFragment();
112112
113113
if (requestStack.length) {
114-
var nbOfAjaxRequest = tbodies.rows.length;
114+
var nbOfAjaxRequest = tbody.rows.length;
115115
if (nbOfAjaxRequest >= 100) {
116-
tbodies.deleteRow(nbOfAjaxRequest - 1);
116+
tbody.deleteRow(nbOfAjaxRequest - 1);
117117
}
118118
119119
for (var i = 0; i < requestStack.length; i++) {

0 commit comments

Comments
 (0)