witten
/
luminotes
Archived
1
0
Fork 0

Bug fix: Clicking the expander for a link that just got its first child didn't appear to work because of double processing the link

clicked event, which caused it to expand and then immediately collapse.
This commit is contained in:
Dan Helfman 2008-04-16 00:44:57 +00:00
parent 8993f69c0c
commit a282c8d1e1
1 changed files with 1 additions and 0 deletions

View File

@ -2820,6 +2820,7 @@ Note_tree.prototype.display_child_links = function ( result, link, children_area
if ( !expander || link.parentNode.parentNode != expander.parentNode ) return;
swapElementClass( expander, "tree_expander_empty", "tree_expander" );
var note_id = parse_query( link )[ "note_id" ];
disconnectAll( expander );
connect_expander( expander, note_id );
}