diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-11 00:40:16 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-11 00:40:16 +0100 |
| commit | 6eff78042b152ef78538292d4263a2dbd89d78da (patch) | |
| tree | 2fda6baed4af2f865c8595a312a1d29d16af2f38 /public/assets/js/lib/views/details/index.js | |
| parent | 017466fcde753924c19e364060d13b591add49d8 (diff) | |
migrate.sql
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) |
