Update jquery.ime from upstream
Return an empty array if there are no previous IMEs
in preferences.
Addresses bug T262865.
Updating to
77bd142ad4
Bug: T262865
Change-Id: Ifce6707914be0033239bc88ce0dc869ba8626e2c
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*! jquery.ime - v0.2.0+20201104
|
||||
/*! jquery.ime - v0.2.0+20201116
|
||||
* https://github.com/wikimedia/jquery.ime
|
||||
* Copyright (c) 2020 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */
|
||||
( function ( $ ) {
|
||||
@@ -1577,7 +1577,7 @@
|
||||
},
|
||||
|
||||
getPreviousInputMethods: function () {
|
||||
return this.registry.previousInputMethods;
|
||||
return this.registry.previousInputMethods || [];
|
||||
},
|
||||
|
||||
// Set the given IM as the last used for the language
|
||||
|
||||
Reference in New Issue
Block a user