diff --git a/lib/jquery.ime/jquery.ime.js b/lib/jquery.ime/jquery.ime.js index be743ffc..f04a32a0 100644 --- a/lib/jquery.ime/jquery.ime.js +++ b/lib/jquery.ime/jquery.ime.js @@ -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