BUILD: make jshint happy

This commit is contained in:
Régis Hanol 2014-06-18 20:07:14 +02:00
parent 00117c18c3
commit 86b989f2ba
1 changed files with 2 additions and 2 deletions

View File

@ -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() {