Skip to content

Commit f8d63a6

Browse files
authored
[VarDumper] Fixed typo in new search input
1 parent 42c3d4f commit f8d63a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,14 +462,14 @@ function showCurrent(state)
462462
reveal(currentNode);
463463
highlight(root, currentNode, state.nodes);
464464
}
465-
counter.textContent = (state.isEmpty() ? 0 : state.idx + 1) + ' on ' + state.count();
465+
counter.textContent = (state.isEmpty() ? 0 : state.idx + 1) + ' of ' + state.count();
466466
}
467467
468468
var search = doc.createElement('div');
469469
search.className = 'sf-dump-search-wrapper sf-dump-search-hidden';
470470
search.innerHTML = '
471471
<input type="text" class="sf-dump-search-input">
472-
<span class="sf-dump-search-count">0 on 0<\/span>
472+
<span class="sf-dump-search-count">0 of 0<\/span>
473473
<button type="button" class="sf-dump-search-input-previous" tabindex="-1">
474474
<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg">
475475
<path d="M1683 1331l-166 165q-19 19-45 19t-45-19l-531-531-531 531q-19 19-45 19t-45-19l-166-165q-19-19-19-45.5t19-45.5l742-741q19-19 45-19t45 19l742 741q19 19 19 45.5t-19 45.5z"\/>
@@ -501,7 +501,7 @@ function showCurrent(state)
501501
resetHighlightedNodes(root);
502502
var searchQuery = e.target.value;
503503
if ('' === searchQuery) {
504-
counter.textContent = '0 on 0';
504+
counter.textContent = '0 of 0';
505505
506506
return;
507507
}

0 commit comments

Comments
 (0)