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 bdd888f commit 0821c5aCopy full SHA for 0821c5a
src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php
@@ -425,15 +425,15 @@ function xpathString(str) {
425
if (this.isEmpty()) {
426
return this.current();
427
}
428
- this.idx = this.idx < (this.nodes.length - 1) ? this.idx + 1 : this.idx;
+ this.idx = this.idx < (this.nodes.length - 1) ? this.idx + 1 : 0;
429
430
431
},
432
previous: function () {
433
434
435
436
- this.idx = this.idx > 0 ? this.idx - 1 : this.idx;
+ this.idx = this.idx > 0 ? this.idx - 1 : (this.nodes.length - 1);
437
438
439
0 commit comments