From: handa Date: Tue, 23 Mar 2010 02:40:15 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ALPHA~5 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9a1a50b5e0ae52459a6f8ff3c2ab17d460ca109;p=m17n%2Fm17n-lib-js.git *** empty log message *** --- diff --git a/mim.js b/mim.js index 733d5d1..abde0a9 100644 --- a/mim.js +++ b/mim.js @@ -2311,7 +2311,7 @@ MIM.keypress = function (event) if (last_target && target.parentLi != last_target) { last_target.style.backgroundColor = 'white'; - if (target.menu_level < last_target.menu_level) + while (target.menu_level < last_target.menu_level) { last_target = last_target.parentLi; last_target.style.backgroundColor = 'white';