diff options
Diffstat (limited to 'public/assets/js/lib/views/details/index.js')
| -rw-r--r-- | public/assets/js/lib/views/details/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/details/index.js b/public/assets/js/lib/views/details/index.js index b8fa859..feba246 100644 --- a/public/assets/js/lib/views/details/index.js +++ b/public/assets/js/lib/views/details/index.js @@ -22,7 +22,8 @@ var DetailsView = View.extend({ populate: function(data){ $("body").removeClass('loading') var thread = data.thread - $("h1").html(thread.title) + $("h1").html(sanitize(thread.title)) + $("title").html(sanitize(thread.title)) $(".subtitle").show().html("<a href='/'>< Home</a> | " + metadata(thread)) this.form.load(data.thread) this.comments.load(data.comments) |
