mirror of https://github.com/zulip/zulip.git
voting_widget: Don't update question in question.outbound function.
We should wait for server response(event) for updating the question.
This commit is contained in:
parent
1e32f66832
commit
1e157057c3
|
@ -75,8 +75,6 @@ exports.poll_data_holder = function (is_my_poll, question) {
|
|||
type: 'question',
|
||||
question: question,
|
||||
};
|
||||
poll_question = question;
|
||||
|
||||
if (is_my_poll) {
|
||||
return event;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue