diff --git a/app/assets/javascripts/discourse/models/composer.js b/app/assets/javascripts/discourse/models/composer.js index 50eb2cbc6..914b94ce1 100644 --- a/app/assets/javascripts/discourse/models/composer.js +++ b/app/assets/javascripts/discourse/models/composer.js @@ -67,7 +67,7 @@ Discourse.Composer = Discourse.Model.extend({ togglePreview: function() { this.toggleProperty('showPreview'); - Discourse.KeyValueStore.set({ key: 'showPreview', value: this.get('showPreview') }); + Discourse.KeyValueStore.set({ key: 'composer.showPreview', value: this.get('showPreview') }); }, // Import a quote from the post