diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index 1e29f8ae8..924d424a3 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -223,7 +223,7 @@

{{profile.display_name || 'loading...'}}

- +
@@ -247,28 +247,6 @@ -
-
-
-
- - -
- -
- - -
-
-

BETA FEATURES

-
Experimental features have been moved to the Labs settings page.
-
-
-
-
@@ -447,12 +425,10 @@ loading: true, replies: [], replyId: null, - optionMenuState: false, modes: { 'mod': false, 'dark': false, 'notify': true, - 'infinite': true, 'distractionFree': false }, followers: [], @@ -932,49 +908,6 @@ } }, - toggleOptionsMenu() { - this.optionMenuState = !this.optionMenuState; - }, - - modeModToggle() { - this.modes.mod = !this.modes.mod; - //window.ls.set('pixelfed-classicui-settings', this.modes); - }, - - modeNotifyToggle() { - this.modes.notify = !this.modes.notify; - //window.ls.set('pixelfed-classicui-settings', this.modes); - }, - - modeDarkToggle() { - // todo: more graceful stylesheet change - if(this.modes.dark == true) { - axios.post('/i/metro/dark-mode', { - mode: 'light' - }).then(res => { - $('link[data-stylesheet=dark]') - .attr('data-stylesheet', 'light') - .attr('href', '/css/app.css?v=' + Date.now()); - this.modes.dark = false; - }); - } else { - axios.post('/i/metro/dark-mode', { - mode: 'dark' - }).then(res => { - $('link[data-stylesheet=light]') - .attr('data-stylesheet', 'dark') - .attr('href', '/css/appdark.css?v=' + Date.now()); - this.modes.dark = true; - }); - } - //window.ls.set('pixelfed-classicui-settings', this.modes); - }, - - modeInfiniteToggle() { - this.modes.infinite = !this.modes.infinite - //window.ls.set('pixelfed-classicui-settings', this.modes); - }, - followingModal() { if(this.following.length > 0) { this.$refs.followingModal.show();