We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98dae3e commit a1863c3Copy full SHA for a1863c3
src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php
@@ -383,8 +383,9 @@ function xpathString(str) {
383
x += elt.parentNode.getAttribute('data-depth')/1;
384
}
385
elt.setAttribute('data-depth', x);
386
- if (elt.className ? 'sf-dump-expanded' !== elt.className : (x > options.maxDepth)) {
387
- elt.className = 'sf-dump-expanded';
+ var className = elt.className;
+ elt.className = 'sf-dump-expanded';
388
+ if (className ? 'sf-dump-expanded' !== className : (x > options.maxDepth)) {
389
toggle(a);
390
391
} else if (/\bsf-dump-ref\b/.test(elt.className) && (a = elt.getAttribute('href'))) {
0 commit comments