From 86b989f2baaa7bd141784dd6d7beb089057ccd8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Wed, 18 Jun 2014 20:07:14 +0200 Subject: [PATCH] BUILD: make jshint happy --- app/assets/javascripts/discourse/models/topic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/models/topic.js b/app/assets/javascripts/discourse/models/topic.js index b766e5120b6..7a309f3febd 100644 --- a/app/assets/javascripts/discourse/models/topic.js +++ b/app/assets/javascripts/discourse/models/topic.js @@ -143,13 +143,13 @@ Discourse.Topic = Discourse.Model.extend({ makeBanner: function() { var self = this; return Discourse.ajax('/t/' + this.get('id') + '/make-banner', { type: 'PUT' }) - .then(function () { self.set('archetype', 'banner'); }) + .then(function () { self.set('archetype', 'banner'); }); }, removeBanner: function() { var self = this; return Discourse.ajax('/t/' + this.get('id') + '/remove-banner', { type: 'PUT' }) - .then(function () { self.set('archetype', 'regular'); }) + .then(function () { self.set('archetype', 'regular'); }); }, starTooltipKey: function() {