From 6eff78042b152ef78538292d4263a2dbd89d78da Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 11 Dec 2017 00:40:16 +0100 Subject: migrate.sql --- public/assets/js/lib/views/details/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public/assets/js/lib/views/details/index.js') 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("< Home | " + metadata(thread)) this.form.load(data.thread) this.comments.load(data.comments) -- cgit v1.2.3-70-g09d2