Fix line length warnings
This commit is contained in:
@@ -61,8 +61,8 @@
|
|||||||
|
|
||||||
// The index of the language option that is currently visited using arrow key navigation
|
// The index of the language option that is currently visited using arrow key navigation
|
||||||
// Can take values in the [0, language options list item length - 1] range for top to bottom
|
// Can take values in the [0, language options list item length - 1] range for top to bottom
|
||||||
// navigation, or in the [-1, -language options list item length + 1] range for bottom to top
|
// navigation, or in the [-1, -language options list item length + 1] range for bottom to
|
||||||
// navigation.
|
// top navigation.
|
||||||
this.navigationIndex = null;
|
this.navigationIndex = null;
|
||||||
|
|
||||||
this.render();
|
this.render();
|
||||||
@@ -103,8 +103,8 @@
|
|||||||
// We support navigation starting both from the top and the bottom of the language list.
|
// We support navigation starting both from the top and the bottom of the language list.
|
||||||
// The navigation should stop when the last language option is already highlighted (for
|
// The navigation should stop when the last language option is already highlighted (for
|
||||||
// top to bottom navigation). For top to bottom navigation, that happens when navigation
|
// top to bottom navigation). For top to bottom navigation, that happens when navigation
|
||||||
// index is equal to language options list item length - 1. For bottom to top navigation,
|
// index is equal to language options list item length - 1. For bottom to top
|
||||||
// that happens when navigation index is equal to -1.
|
// navigation, that happens when navigation index is equal to -1.
|
||||||
if ( this.navigationIndex === maxIndex || this.navigationIndex === -1 ) {
|
if ( this.navigationIndex === maxIndex || this.navigationIndex === -1 ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user