moved instanceName to index.ejs

This commit is contained in:
azivner
2018-04-02 21:34:28 -04:00
parent 26e4ad9bf9
commit 429d3f518e
5 changed files with 10 additions and 9 deletions

View File

@@ -370,7 +370,6 @@ function getNotePathFromAddress() {
async function loadTree() {
const resp = await server.get('tree');
startNotePath = resp.start_note_path;
window.glob.instanceName = resp.instanceName;
if (document.location.hash) {
startNotePath = getNotePathFromAddress();