mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
BUILD: make jshint happy
This commit is contained in:
parent
00117c18c3
commit
86b989f2ba
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue