mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Update ember-cloaking. Should fix some vanishing posts
This commit is contained in:
parent
539890afdf
commit
2842952a76
1 changed files with 1 additions and 0 deletions
1
vendor/assets/javascripts/ember-cloaking.js
vendored
1
vendor/assets/javascripts/ember-cloaking.js
vendored
|
@ -191,6 +191,7 @@
|
||||||
$(window).bind('scroll.ember-cloak', onScrollMethod);
|
$(window).bind('scroll.ember-cloak', onScrollMethod);
|
||||||
this.addObserver('wrapperTop', self, onScrollMethod);
|
this.addObserver('wrapperTop', self, onScrollMethod);
|
||||||
this.addObserver('wrapperHeight', self, onScrollMethod);
|
this.addObserver('wrapperHeight', self, onScrollMethod);
|
||||||
|
this.addObserver('content.@each', self, onScrollMethod);
|
||||||
this.scrollTriggered();
|
this.scrollTriggered();
|
||||||
|
|
||||||
this.set('scrollingEnabled', true);
|
this.set('scrollingEnabled', true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue