2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

FIX: Update ember-cloaking. Should fix some vanishing posts

This commit is contained in:
Robin Ward 2014-03-21 14:30:03 -04:00
parent 539890afdf
commit 2842952a76

View file

@ -191,6 +191,7 @@
$(window).bind('scroll.ember-cloak', onScrollMethod);
this.addObserver('wrapperTop', self, onScrollMethod);
this.addObserver('wrapperHeight', self, onScrollMethod);
this.addObserver('content.@each', self, onScrollMethod);
this.scrollTriggered();
this.set('scrollingEnabled', true);