FIX: toggle topic status was inverted

This commit is contained in:
Régis Hanol 2015-03-14 02:45:33 +01:00
parent 424a3b042a
commit 4787e73954
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ const Topic = Discourse.Model.extend({
toggleStatus(property) {
this.toggleProperty(property);
this.saveStatus(property, !this.get(property));
this.saveStatus(property, !!this.get(property));
},
saveStatus(property, value) {