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:
parent
8993f69c0c
commit
a282c8d1e1
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue