From 7fdd5964cca61e873244628d0f2b3548b07f748d Mon Sep 17 00:00:00 2001 From: kPherox Date: Mon, 22 Apr 2019 01:00:20 +0900 Subject: [PATCH 1/2] Fix lang_parse_vote for en --- app/js/lang/lang.en.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/lang/lang.en.js b/app/js/lang/lang.en.js index bab2f536..2b4baef2 100644 --- a/app/js/lang/lang.en.js +++ b/app/js/lang/lang.en.js @@ -189,7 +189,7 @@ var lang={ "lang_parse_clientmute":"muted", "lang_parse_mute":" will be muted. You can remove on preferences.", "lang_parse_voted":"Voted", - "lang_parse_vote":"Voted", + "lang_parse_vote":"Vote", "lang_parse_unvoted":"Show the result without voting", "lang_parse_endedvote":"Expired", "lang_parse_thread":"Show thread", From f8823a4c5af2e0d5ac52625c8e5739da44679ae5 Mon Sep 17 00:00:00 2001 From: kPherox Date: Mon, 22 Apr 2019 01:34:50 +0900 Subject: [PATCH 2/2] Fix bug that deleting the vote button --- app/js/tl/parse.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index b1d51c2d..38399903 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -489,7 +489,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { var myvote=lang.lang_parse_voted; var result_hide=""; }else{ - myvote=''+lang.lang_parse_vote+'
'; + var myvote=''+lang.lang_parse_vote+'
'; if(choices[0].votes_count===0 || choices[0].votes_count>0){ myvote=myvote+''+lang.lang_parse_unvoted+""; } @@ -798,8 +798,8 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { '' + '
'+tickerdom+'' + spoil + "" + spoiler_show + - '' + content +poll+ - '' + + '' + content + + '' + poll + '' + viewer + '' + '
' + analyze + '' +