diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 6c6c892..2858130 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -2653,8 +2653,10 @@ Note_tree.prototype.rename_link = function ( editor, new_title ) { Note_tree.prototype.update_link = function ( editor ) { var link = getElement( "note_tree_link_" + editor.id ); - if ( !link ) + if ( !link ) { + this.add_root_link( editor ); return; + } if ( !editor.startup ) this.remove_link( editor.id );