Skip to content

Commit 52f187e

Browse files
xkobalnicolas-grekas
authored andcommitted
[WebProfilerBundle] Fix Debug toolbar breaks app
1 parent 31c69ec commit 52f187e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
var rows = document.createDocumentFragment();
109109
110110
if (requestStack.length) {
111-
var nbOfAjaxRequest = tbodies.rows.count();
111+
var nbOfAjaxRequest = tbodies.rows.length;
112112
if (nbOfAjaxRequest >= 100) {
113113
tbodies.deleteRow(nbOfAjaxRequest - 1);
114114
}

0 commit comments

Comments
 (0)