diff options
| author | shpuld <shp@cock.li> | 2019-01-20 12:46:11 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-01-20 12:46:11 +0200 |
| commit | 485a061287149fe0ff5c4a188d21d775ff271f6d (patch) | |
| tree | 77802e1de9ef0688041d287585985fce06005af4 /src/components/settings/settings.js | |
| parent | e1c3691a72551926a292ed11d8fb0c723ead1552 (diff) | |
Polish for videos, smaller sizes, remove gif-looping options
Diffstat (limited to 'src/components/settings/settings.js')
| -rw-r--r-- | src/components/settings/settings.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js index d45ec72d..76b42bab 100644 --- a/src/components/settings/settings.js +++ b/src/components/settings/settings.js @@ -29,7 +29,6 @@ const settings = { notificationVisibilityLocal: user.notificationVisibility, replyVisibilityLocal: user.replyVisibility, loopVideoLocal: user.loopVideo, - loopVideoSilentOnlyLocal: user.loopVideoSilentOnly, muteWordsString: user.muteWords.join('\n'), autoLoadLocal: user.autoLoad, streamingLocal: user.streaming, @@ -57,14 +56,7 @@ const settings = { scopeCopyDefault: this.$t('settings.values.' + instance.scopeCopy), stopGifs: user.stopGifs, - webPushNotificationsLocal: user.webPushNotifications, - loopSilentAvailable: - // Firefox - Object.getOwnPropertyDescriptor(HTMLVideoElement.prototype, 'mozHasAudio') || - // Chrome-likes - Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'webkitAudioDecodedByteCount') || - // Future spec, still not supported in Nightly 63 as of 08/2018 - Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'audioTracks') + webPushNotificationsLocal: user.webPushNotifications } }, components: { @@ -120,9 +112,6 @@ const settings = { loopVideoLocal (value) { this.$store.dispatch('setOption', { name: 'loopVideo', value }) }, - loopVideoSilentOnlyLocal (value) { - this.$store.dispatch('setOption', { name: 'loopVideoSilentOnly', value }) - }, autoLoadLocal (value) { this.$store.dispatch('setOption', { name: 'autoLoad', value }) }, |
