projects
/
m17n
/
m17n-lib-js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873b494
)
*** empty log message ***
author
handa
<handa>
Tue, 23 Mar 2010 02:40:15 +0000
(
02:40
+0000)
committer
handa
<handa>
Tue, 23 Mar 2010 02:40:15 +0000
(
02:40
+0000)
mim.js
patch
|
blob
|
history
diff --git
a/mim.js
b/mim.js
index
733d5d1
..
abde0a9
100644
(file)
--- 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';