FIX: Previous polls are being removed when adding a poll in a new post.

This commit is contained in:
Guo Xiang Tan 2016-06-07 11:23:38 +08:00
parent 2f14a81fa4
commit 35337cd687
No known key found for this signature in database
GPG key ID: 19C321C8952B0F72

View file

@ -75,7 +75,6 @@ function initializePolls(api) {
const polls = post.get("pollsObject");
if (!polls) { return; }
cleanUpPollViews();
const postPollViews = {};
$polls.each((idx, pollElem) => {