mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -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");
|
const polls = post.get("pollsObject");
|
||||||
if (!polls) { return; }
|
if (!polls) { return; }
|
||||||
|
|
||||||
cleanUpPollViews();
|
|
||||||
const postPollViews = {};
|
const postPollViews = {};
|
||||||
|
|
||||||
$polls.each((idx, pollElem) => {
|
$polls.each((idx, pollElem) => {
|
||||||
|
|
Loading…
Reference in a new issue