diff --git a/lib/jquery.ime/jquery.ime.js b/lib/jquery.ime/jquery.ime.js index 8ef1bd18..ac4daac8 100644 --- a/lib/jquery.ime/jquery.ime.js +++ b/lib/jquery.ime/jquery.ime.js @@ -1,4 +1,4 @@ -/*! jquery.ime - v0.2.0+20180529 +/*! jquery.ime - v0.2.0+20180815 * https://github.com/wikimedia/jquery.ime * Copyright (c) 2018 Santhosh Thottingal; License: (GPL-2.0+ OR MIT) */ ( function ( $ ) { @@ -964,6 +964,10 @@ // Hide all other IME settings and collapse open menus $( 'div.imeselector' ).hide(); $( 'div.imeselector-menu' ).removeClass( 'ime-open' ); + this.afterKeydown(); + }, + + afterKeydown: function () { this.$imeSetting.show(); this.resetTimer(); }, @@ -1103,7 +1107,7 @@ previousInputMethods, languageCode; - this.focus(); // shows the trigger in case it is hidden + this.afterKeydown(); // shows the trigger in case it is hidden if ( isShortcutKey( e ) ) { if ( ime.isActive() ) {