Skip to content

Commit 8a4cbd0

Browse files
authored
Merge pull request jupyter#4318 from RomanKornev/upd-document-title
Update document.title to a more descriptive name
2 parents c33130d + d3ce207 commit 8a4cbd0

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 Text Editor';
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)