From 2dd6cf74b8b2ececd55cb355defcaa27543d0bb8 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Mon, 19 Aug 2013 19:32:58 +0300 Subject: [PATCH] Update jquery.ime from upstream Fixes bug 53041 (upstream patch by Matmarex) Bug: 53041 Change-Id: I8653404833d83a6d798551a47e37d87e6c0c1eaf --- lib/jquery.ime/jquery.ime.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/jquery.ime/jquery.ime.js b/lib/jquery.ime/jquery.ime.js index ace47dc5..d8238508 100644 --- a/lib/jquery.ime/jquery.ime.js +++ b/lib/jquery.ime/jquery.ime.js @@ -856,7 +856,9 @@ } ); // Hide the menu when clicked outside - $( 'html' ).click( $.proxy( this.hide, this ) ); + $( 'html' ).click( function () { + imeselector.hide(); + } ); // ... but when clicked on window do not propagate it. this.$menu.on( 'click', function ( event ) {