diff --git a/index.html b/index.html index 9c398f5..604e2bd 100644 --- a/index.html +++ b/index.html @@ -241,7 +241,8 @@ function RT(){ }; dv.appendChild(rw) } - if(br){var kd=document.createElement('div');kd.className='chd o'; + function onPath(t) { if(!t||t===n)return true; var p=t._p; while(p){if(p===n)return true;p=p._p}return false; } + if(br){var kd=document.createElement('div');kd.className='chd'+(onPath(N)?' o':''); for(var i=0;i