From 3a12336eb728f6d1a915979ade7e71190a0efcb6 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Thu, 20 Mar 2014 22:16:11 +0400 Subject: [PATCH] Fixed show more bug --- app/js/directives.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/js/directives.js b/app/js/directives.js index 94ab79d3..e95e8f9c 100644 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -271,7 +271,7 @@ angular.module('myApp.directives', ['myApp.filters']) $timeout(function () { $(scrollableWrap).trigger('scroll'); - }) + }); }); }); @@ -279,6 +279,10 @@ angular.module('myApp.directives', ['myApp.filters']) onContentLoaded(function () { updateSizes(); scope.$broadcast('ui_message_send'); + + $timeout(function () { + $(scrollableWrap).trigger('scroll'); + }); }); });