From f9e3b4129bf89a205e66b49cf08ff5190f2b494c Mon Sep 17 00:00:00 2001 From: Cutls Date: Tue, 19 Mar 2019 00:24:46 +0900 Subject: [PATCH] vis bug/setting bug --- app/js/post/secure.js | 2 +- app/js/ui/layout.js | 3 +-- app/js/ui/settings.js | 12 +++++++++--- app/main.js | 5 +++-- app/view/en/setting.vue.js | 2 +- app/view/make/language/setting.en.json | 2 +- 6 files changed, 16 insertions(+), 10 deletions(-) diff --git a/app/js/post/secure.js b/app/js/post/secure.js index 439d02ec..d3b87dfb 100644 --- a/app/js/post/secure.js +++ b/app/js/post/secure.js @@ -60,7 +60,7 @@ function loadVis(){ memory = "public"; } vis(memory); - } else if(vist == "server") { + } else if(vist == "useapi") { var acct_id = $("#post-acct-sel").val(); var multi = localStorage.getItem("multi"); var obj = JSON.parse(multi); diff --git a/app/js/ui/layout.js b/app/js/ui/layout.js index 3843d0a3..64bf2a2f 100644 --- a/app/js/ui/layout.js +++ b/app/js/ui/layout.js @@ -54,8 +54,7 @@ function parseColumn() { } var acctlist=obj; console.log(obj); - /* -var xed=localStorage.getItem("xed"); + /*var xed=localStorage.getItem("xed"); if(xed){ xpand(); }*/ diff --git a/app/js/ui/settings.js b/app/js/ui/settings.js index d55c5d7a..f0d846e6 100644 --- a/app/js/ui/settings.js +++ b/app/js/ui/settings.js @@ -89,17 +89,23 @@ function load() { var max=envView.config.length; for(var i=0;iAbout #InstanceTicker Copyright 2018 weepjp, kyori19.', + desc:'Show colorful stickers about the server. About #InstanceTicker Copyright 2018 weepjp, kyori19.', checkbox:yesno } },{ diff --git a/app/view/make/language/setting.en.json b/app/view/make/language/setting.en.json index c6fa7b4f..7d04373d 100644 --- a/app/view/make/language/setting.en.json +++ b/app/view/make/language/setting.en.json @@ -82,7 +82,7 @@ "or":"or", "imgheight":"Height of images", "ticker":"Enable #InstanceTicker", - "tickerwarn":"Show colorful stickers about tooters' server. About #InstanceTicker Copyright 2018 weepjp, kyori19.", + "tickerwarn":"Show colorful stickers about the server. About #InstanceTicker Copyright 2018 weepjp, kyori19.", "animation":"Animation of timelines", "post":"Posting Preferences", "autocw":"Alert before posting a long toot.",