mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 16:38:10 +08:00
FIX: Previous polls are being removed when adding a poll in a new post.
This commit is contained in:
parent
2f14a81fa4
commit
35337cd687
@ -75,7 +75,6 @@ function initializePolls(api) {
|
||||
const polls = post.get("pollsObject");
|
||||
if (!polls) { return; }
|
||||
|
||||
cleanUpPollViews();
|
||||
const postPollViews = {};
|
||||
|
||||
$polls.each((idx, pollElem) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user