only set the title when we have something nice to say
This commit is contained in:
parent
87464b84d0
commit
e9217931ce
1 changed files with 4 additions and 3 deletions
|
|
@ -42,9 +42,10 @@ app.pages.PostViewer = app.views.Base.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
postRenderTemplate : function() {
|
postRenderTemplate : function() {
|
||||||
/* set the document title */
|
/* set the document title, if it has one */
|
||||||
document.title = this.model.get("title");
|
if(this.model.get("title")){
|
||||||
|
document.title = this.model.get("title");
|
||||||
|
}
|
||||||
this.bindNavHooks();
|
this.bindNavHooks();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue