mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
bugfix: use baseProjectUrl when re-writing URL in address bar
This commit is contained in:
parent
81a636dabf
commit
c706d6ed99
@ -124,7 +124,7 @@ var IPython = (function (IPython) {
|
||||
SaveWidget.prototype.update_url = function () {
|
||||
var notebook_id = this.get_notebook_id();
|
||||
if (notebook_id !== '') {
|
||||
var new_url = '/'+notebook_id;
|
||||
var new_url = $('body').data('baseProjectUrl') + notebook_id;
|
||||
window.history.replaceState({}, '', new_url);
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user