mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00:00
poll widget: Clear input after adding an option.
This commit is contained in:
@@ -132,6 +132,8 @@ exports.activate = function (opts) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
elem.find(".poll-comment").val('').focus();
|
||||||
|
|
||||||
var data = poll_data.handle.new_comment.outbound(comment);
|
var data = poll_data.handle.new_comment.outbound(comment);
|
||||||
callback(data);
|
callback(data);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user