Skip to content

Commit 18ca033

Browse files
committed
Update document.title to a more descriptive name
1 parent 31c2184 commit 18ca033

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

notebook/static/edit/js/savewidget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ define([
122122
if(filename){
123123
this._filename = filename;
124124
}
125-
document.title = (dirty?'*':'')+this._filename;
125+
document.title = (dirty?'*':'')+this._filename+' - Jupyter Notebook';
126126
};
127127

128128
SaveWidget.prototype.update_address_bar = function (path) {

notebook/static/notebook/js/savewidget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ define([
141141

142142
SaveWidget.prototype.update_document_title = function () {
143143
var nbname = this.notebook.get_notebook_name();
144-
document.title = nbname;
144+
document.title = nbname + ' - Jupyter Notebook';
145145
};
146146

147147
SaveWidget.prototype.update_address_bar = function(){

0 commit comments

Comments
 (0)