mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Merge pull request #2128 from Carreau/fixes-2120
open notebook copy in different tabs
This commit is contained in:
commit
f38cf983c5
@ -48,7 +48,8 @@ var IPython = (function (IPython) {
|
||||
this.element.find('#copy_notebook').click(function () {
|
||||
var notebook_id = IPython.notebook.get_notebook_id();
|
||||
var url = $('body').data('baseProjectUrl') + notebook_id + '/copy';
|
||||
window.open(url,'_newtab');
|
||||
window.open(url,'_blank');
|
||||
return false;
|
||||
});
|
||||
this.element.find('#save_notebook').click(function () {
|
||||
IPython.notebook.save_notebook();
|
||||
|
Loading…
Reference in New Issue
Block a user