mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Ember.run.schedule
-> Ember.run.scheduleOnce
.
This commit is contained in:
parent
de17a8e856
commit
ebc31975e8
@ -136,7 +136,7 @@ export default Ember.Component.extend({
|
|||||||
this.appEvents.on(event, this, this._resetShouldBuildScrollMap);
|
this.appEvents.on(event, this, this._resetShouldBuildScrollMap);
|
||||||
});
|
});
|
||||||
|
|
||||||
Ember.run.schedule("afterRender", () => {
|
Ember.run.scheduleOnce("afterRender", () => {
|
||||||
$input.on('touchstart mouseenter', () => {
|
$input.on('touchstart mouseenter', () => {
|
||||||
if (!$preview.is(":visible")) return;
|
if (!$preview.is(":visible")) return;
|
||||||
$preview.off('scroll');
|
$preview.off('scroll');
|
||||||
|
Loading…
Reference in New Issue
Block a user