mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
FIX: Previous polls are being removed when adding a poll in a new post.
This commit is contained in:
parent
2f14a81fa4
commit
35337cd687
1 changed files with 0 additions and 1 deletions
|
@ -75,7 +75,6 @@ function initializePolls(api) {
|
|||
const polls = post.get("pollsObject");
|
||||
if (!polls) { return; }
|
||||
|
||||
cleanUpPollViews();
|
||||
const postPollViews = {};
|
||||
|
||||
$polls.each((idx, pollElem) => {
|
||||
|
|
Loading…
Reference in a new issue