jquery.uls.lcd: Add null check for navigationIndex for up navigation
This commit is contained in:
1 parent
36ca765fbe
commit
02cd462ec2
1 file changed
+4
@@ -134,6 +134,10 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( this.navigationIndex === null ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.navigationIndex--;
|
this.navigationIndex--;
|
||||||
this.highlightLanguageOption();
|
this.highlightLanguageOption();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user