mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Merge pull request #828 from ZogStriP/hide-show-preview-in-composer-preference-is-saved-in-local-storage
FIX: hide/show preview in composer preference is saved in local storage
This commit is contained in:
commit
2a98e8773f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue