Skip to content

Tree constructor actions#197

Merged
ciennG merged 2 commits intomasterfrom
treeConstructorActions
May 17, 2020
Merged

Tree constructor actions#197
ciennG merged 2 commits intomasterfrom
treeConstructorActions

Conversation

@ciennG
Copy link
Copy Markdown
Collaborator

@ciennG ciennG commented May 17, 2020

Adds proper URL manipulation to tree navigation.

@ciennG ciennG merged commit 698f82b into master May 17, 2020
//root node center is just /topics
var newUrl = window.location.protocol + "//" + window.location.host + "/topics";
window.history.replaceState("classTree", "topics", newUrl);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this code (from lines 1043-1050) work when we decide to use it in both the topic and class tree? Can it be made to be more flexible in anticipation of that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants