From b02b031d977c2dd9f476c15073da7a6b751fb4c4 Mon Sep 17 00:00:00 2001 From: cutls Date: Sun, 1 Mar 2020 12:47:07 +0900 Subject: [PATCH] own_votes Nullable --- app/js/tl/parse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index 95ae3f86..f065e7ed 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -1412,11 +1412,11 @@ function pollParse(poll, acct_id, emojis) { var refresh = ` ${lang.lang_manager_refresh} ` - if (poll.voted && poll.own_votes.length) { + if (poll.voted && minechoice.length) { var myvote = lang.lang_parse_voted if (poll.expired) myvote = myvote + '/' + lang.lang_parse_endedvote var result_hide = '' - } else if (poll.voted && !poll.own_votes.length) { + } else if (poll.voted && !minechoice.length) { var myvote = lang.lang_parse_myvote if (poll.expired) myvote = myvote + '/' + lang.lang_parse_endedvote var result_hide = ''