diff options
| author | Henry Jameson <me@hjkos.com> | 2018-03-12 02:31:33 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-03-12 02:31:33 +0300 |
| commit | 0c4dc26808c3bb7508bf9005f3c3430f1c7e2039 (patch) | |
| tree | 4bf42b369fd8a90246272c36f04b9f478ebc2db3 /src/components/settings/settings.js | |
| parent | 5efd8a4aa6cd4deca287781be24083fc468c563a (diff) | |
after nine years of development, hopefully, it has been worth the weight
Diffstat (limited to 'src/components/settings/settings.js')
| -rw-r--r-- | src/components/settings/settings.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js index b88937bb..a26111d6 100644 --- a/src/components/settings/settings.js +++ b/src/components/settings/settings.js @@ -10,7 +10,8 @@ const settings = { muteWordsString: this.$store.state.config.muteWords.join('\n'), autoLoadLocal: this.$store.state.config.autoLoad, streamingLocal: this.$store.state.config.streaming, - hoverPreviewLocal: this.$store.state.config.hoverPreview + hoverPreviewLocal: this.$store.state.config.hoverPreview, + stopGifs: this.$store.state.config.stopGifs } }, components: { @@ -43,6 +44,9 @@ const settings = { muteWordsString (value) { value = filter(value.split('\n'), (word) => trim(word).length > 0) this.$store.dispatch('setOption', { name: 'muteWords', value }) + }, + stopGifs (value) { + this.$store.dispatch('setOption', { name: 'stopGifs', value }) } } } |
