jquery.uls.lcd: Add null check for navigationIndex for up navigation

This commit is contained in:
Abijeet
2023-02-16 01:36:19 +05:30
committed by Niklas Laxström
parent 36ca765fbe
commit 02cd462ec2

View File

@@ -134,6 +134,10 @@
return;
}
if ( this.navigationIndex === null ) {
return;
}
this.navigationIndex--;
this.highlightLanguageOption();
},