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:
Shubham Dhama 2018-07-05 19:29:10 +05:30 committed by showell
parent 1e32f66832
commit 1e157057c3
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}