mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Previous polls are being removed when adding a poll in a new post.
This commit is contained in:
@@ -75,7 +75,6 @@ function initializePolls(api) {
|
||||
const polls = post.get("pollsObject");
|
||||
if (!polls) { return; }
|
||||
|
||||
cleanUpPollViews();
|
||||
const postPollViews = {};
|
||||
|
||||
$polls.each((idx, pollElem) => {
|
||||
|
||||
Reference in New Issue
Block a user