Skip to content

Commit 44fef9f

Browse files
committed
dumper.js: fixed collapseCount counting
1 parent 7e03495 commit 44fef9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Tracy/assets/Dumper/dumper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969

7070
var build = function(data, repository, collapsed, parentIds) {
7171
var type = data === null ? 'null' : typeof data,
72-
collapseCount = typeof collapsed === 'undefined' ? COLLAPSE_COUNT : COLLAPSE_COUNT_TOP;
72+
collapseCount = typeof collapsed === 'undefined' ? COLLAPSE_COUNT_TOP : COLLAPSE_COUNT;
7373

7474
if (type === 'null' || type === 'string' || type === 'number' || type === 'boolean') {
7575
data = type === 'string' ? '"' + data + '"' : (data + '').toUpperCase();

0 commit comments

Comments
 (0)