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 = ''