mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Ember.run.schedule
-> Ember.run.scheduleOnce
.
This commit is contained in:
parent
de17a8e856
commit
ebc31975e8
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ export default Ember.Component.extend({
|
|||
this.appEvents.on(event, this, this._resetShouldBuildScrollMap);
|
||||
});
|
||||
|
||||
Ember.run.schedule("afterRender", () => {
|
||||
Ember.run.scheduleOnce("afterRender", () => {
|
||||
$input.on('touchstart mouseenter', () => {
|
||||
if (!$preview.is(":visible")) return;
|
||||
$preview.off('scroll');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue