Update jquery.ime from upstream and a fix in default preferences
Default preferences are kept while loading from localstorage. It may be empty first time. Handling that case. Change-Id: If5780006120e401a4df1171146760692b8963363
This commit is contained in:
committed by
Gerrit Code Review
parent
66b2badb5c
commit
5cbad377e0
@@ -1022,6 +1022,7 @@
|
||||
if ( !language ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$languageItem = $( '<a>' ).attr( 'href', '#' ).text( language.autonym );
|
||||
$language = $( '<li class="ime-lang">' ).attr( 'lang', languageCode );
|
||||
$language.append( $languageItem );
|
||||
|
||||
Reference in New Issue
Block a user