BUILD: make jshint happy
This commit is contained in:
parent
00117c18c3
commit
86b989f2ba
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue