Shorten a comment line (#464)

Recommended atomatically at
https://github.com/wikimedia/jquery.uls/pull/463/files
This commit is contained in:
Amir E. Aharoni
2023-07-24 11:11:50 +03:00
committed by GitHub
parent 372ebc2f77
commit 95e50bb37b

View File

@@ -112,8 +112,9 @@
if ( this.navigationIndex === null ) {
this.navigationIndex = 0;
} else {
// Auto-correct the index. It has been noticed that the navigationIndex goes beyond the
// max index sometimes. See: phab:T328956#8854835
// Auto-correct the index.
// It has been noticed that the navigationIndex goes beyond
// the max index sometimes. See: phab:T328956#8854835
if ( this.navigationIndex > maxIndex ) {
this.navigationIndex = maxIndex;
} else {