Fixed infinite loading bug

This commit is contained in:
Igor Zhukov 2014-04-28 13:18:12 +08:00
parent 2e9e736bdd
commit 435615cc43

View File

@ -312,7 +312,9 @@ angular.module('myApp.directives', ['myApp.filters'])
moreNotified = false;
$timeout(function () {
$(scrollableWrap).trigger('scroll');
if (scrollableWrap.scrollHeight != sh) {
$(scrollableWrap).trigger('scroll');
}
});
});
});