[WebProfilerBundle] Fix Debug toolbar breaks app

This commit is contained in:
Xavier HAUSHERR 2018-03-02 09:09:42 +01:00 committed by Nicolas Grekas
parent 31c69ec90d
commit 52f187e86a
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@
var rows = document.createDocumentFragment();
if (requestStack.length) {
var nbOfAjaxRequest = tbodies.rows.count();
var nbOfAjaxRequest = tbodies.rows.length;
if (nbOfAjaxRequest >= 100) {
tbodies.deleteRow(nbOfAjaxRequest - 1);
}