Update jquery.ime from upstream
* selectLanguage need to check whether ime changed before return with noop * Add dot reph(0D4E) to Malayalam transliteration Change-Id: I35c05e8261270096ceb652db9b0dc24be9fa71fc
This commit is contained in:
committed by
Gerrit Code Review
parent
b1563040ab
commit
00c37b9218
@@ -1,4 +1,4 @@
|
||||
/*! jquery.ime - v0.1.0 - 2013-05-08
|
||||
/*! jquery.ime - v0.1.0 - 2013-05-17
|
||||
* https://github.com/wikimedia/jquery.ime
|
||||
* Copyright (c) 2013 Santhosh Thottingal; Licensed GPL, MIT */
|
||||
( function ( $ ) {
|
||||
@@ -753,7 +753,11 @@
|
||||
|
||||
if ( ime.getLanguage() === languageCode ) {
|
||||
// nothing to do. It is same as the current language
|
||||
return false;
|
||||
// but check whether input method changed
|
||||
if( ime.inputmethod &&
|
||||
ime.inputmethod.id === $.ime.preferences.getIM( languageCode ) ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
this.$menu.find( 'li.ime-lang' ).show();
|
||||
|
||||
Reference in New Issue
Block a user