mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: resize events for ace were not triggered correctly
This commit is contained in:
parent
7a4e825671
commit
c40ac5abe6
2 changed files with 12 additions and 1 deletions
|
@ -150,6 +150,9 @@ export default Ember.Controller.extend({
|
|||
|
||||
toggleMaximize: function() {
|
||||
this.toggleProperty('maximized');
|
||||
Em.run.next(()=>{
|
||||
this.appEvents.trigger('ace:resize');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue