|
@@ -226,6 +226,7 @@ function onFastLoaded(_data, _href, _history) {
|
|
|
target = target.substr(target.indexOf('/') + 1);
|
|
|
}
|
|
|
}
|
|
|
+ if(target[0] === '/') target = target.substr(1);
|
|
|
window.top.history.pushState(target, null, '/mc/' + target);
|
|
|
}
|
|
|
|
|
@@ -317,7 +318,7 @@ function initQuillEdit(_selector = '.note-content[auto-edit]') {
|
|
|
else {
|
|
|
// toastr.success('Note saved');
|
|
|
// saveButton.prop('disabled', true);
|
|
|
- fastLoad(window.location.pathname, false, false);
|
|
|
+ fastLoad(window.top.location.pathname.substr(3), false, false);
|
|
|
}
|
|
|
}, 'json');
|
|
|
});
|