Merge pull request #2483 from hitosu/master
filter 229 keyCodes (input method editor is processing key input)
This commit is contained in:
commit
79b5bf6db9
@ -2117,6 +2117,9 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
this.search.on("keydown", this.bind(function (e) {
|
this.search.on("keydown", this.bind(function (e) {
|
||||||
if (!this.isInterfaceEnabled()) return;
|
if (!this.isInterfaceEnabled()) return;
|
||||||
|
|
||||||
|
// filter 229 keyCodes (input method editor is processing key input)
|
||||||
|
if (229 == e.keyCode) return;
|
||||||
|
|
||||||
if (e.which === KEY.PAGE_UP || e.which === KEY.PAGE_DOWN) {
|
if (e.which === KEY.PAGE_UP || e.which === KEY.PAGE_DOWN) {
|
||||||
// prevent the page from scrolling
|
// prevent the page from scrolling
|
||||||
killEvent(e);
|
killEvent(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user