Update jquery.ime to d563f903c9e

* Remove the undocumented Control+Enter shortcult for toggle

Bug: T106700
Bug: T134664
Change-Id: I1d62d751515016b3d028ecf6ae78a65eb1728391
This commit is contained in:
Santhosh Thottingal
2016-05-18 11:02:00 +05:30
committed by Santhosh
parent fed1b51006
commit 9dc42d7d31

View File

@@ -1,4 +1,4 @@
/*! jquery.ime - v0.1.0+20160412 /*! jquery.ime - v0.1.0+20160518
* https://github.com/wikimedia/jquery.ime * https://github.com/wikimedia/jquery.ime
* Copyright (c) 2016 Santhosh Thottingal; Licensed GPL, MIT */ * Copyright (c) 2016 Santhosh Thottingal; Licensed GPL, MIT */
( function ( $ ) { ( function ( $ ) {
@@ -1538,8 +1538,7 @@
*/ */
function isShortcutKey( event ) { function isShortcutKey( event ) {
// 77 - The letter M, for Ctrl-M // 77 - The letter M, for Ctrl-M
// 13 - The Enter key return event.ctrlKey && !event.altKey && ( event.which === 77 );
return event.ctrlKey && !event.altKey && ( event.which === 77 || event.which === 13 );
} }
function isDOMAttrModifiedSupported() { function isDOMAttrModifiedSupported() {