mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
FIX: Make sure we reset poll builder after inserting a poll.
This commit is contained in:
@ -152,6 +152,7 @@ export default Ember.Controller.extend({
|
||||
insertPoll() {
|
||||
this.get("toolbarEvent").addText(this.get("pollOutput"));
|
||||
this.send("closeModal");
|
||||
this._setupPoll();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user