Close the by default expanded objects of dumped vars

This commit is contained in:
Jonas De Taeye
2016-02-18 11:43:49 +05:30
parent 4a3bb52581
commit 965284ea67
+6
View File
@@ -119,4 +119,10 @@ Zepto(function($) {
e.preventDefault();
$.get(this.href);
});
// Symfony VarDumper: Close the by default expanded objects
$('.sf-dump-expanded')
.removeClass('sf-dump-expanded')
.addClass('sf-dump-compact');
$('.sf-dump-toggle span').html('▶');
});