*** empty log message ***
[m17n/m17n-lib-js.git] / xex.js
diff --git a/xex.js b/xex.js
index 90fd2d3..e97c17e 100644 (file)
--- a/xex.js
+++ b/xex.js
@@ -3144,20 +3144,9 @@ MIM.focus_in = function (event)
 {
   var target = event.target;
   var ic = target.mim_ic;
-  if (ic)
-    {
-      if (target.mim_ignore_focus_in)
-       {
-         Xex.Log ('ignore focus_in in ' + target.tagName);
-         // Ignore this event which is caused by setSelectionRange ().
-         target.mim_ignore_focus_in = false;
-         event.preventDefault ();
-       }
-      else
-       {
-         Xex.Log ('focus_in in ' + target.tagName);
-         ic.Filter (MIM.Key.FocusIn);
-         MIM.update (target, ic);
+  ic.Filter (MIM.Key.FocusIn);
+  target.removeEventListener ('');
+  setTimeout (MIM.update (target, ic);
          // Ignore further focus-in caused by setSelectionRange ().
          target.mim_ignore_focus_in = true;
        }