Shorten a comment line (#464)
Recommended atomatically at https://github.com/wikimedia/jquery.uls/pull/463/files
This commit is contained in:
@@ -112,8 +112,9 @@
|
|||||||
if ( this.navigationIndex === null ) {
|
if ( this.navigationIndex === null ) {
|
||||||
this.navigationIndex = 0;
|
this.navigationIndex = 0;
|
||||||
} else {
|
} else {
|
||||||
// Auto-correct the index. It has been noticed that the navigationIndex goes beyond the
|
// Auto-correct the index.
|
||||||
// max index sometimes. See: phab:T328956#8854835
|
// It has been noticed that the navigationIndex goes beyond
|
||||||
|
// the max index sometimes. See: phab:T328956#8854835
|
||||||
if ( this.navigationIndex > maxIndex ) {
|
if ( this.navigationIndex > maxIndex ) {
|
||||||
this.navigationIndex = maxIndex;
|
this.navigationIndex = maxIndex;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user