diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-15 10:08:47 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-15 10:08:47 +0200 |
commit | 3292f70071f036e8a3963bf5aca0207ace93fc2f (patch) | |
tree | 18d62188c733342a205cf64ee07f6889fa647f16 /webclient/room/room-controller.js | |
parent | Define a CLOS-like 'around' modifier as a decorator, to neaten up the 'orig_*... (diff) | |
parent | unbreak wordwrapping by breaking multiline paste for now (diff) | |
download | synapse-3292f70071f036e8a3963bf5aca0207ace93fc2f.tar.xz |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'webclient/room/room-controller.js')
-rw-r--r-- | webclient/room/room-controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index 45dfff95c2..50d902ae47 100644 --- a/webclient/room/room-controller.js +++ b/webclient/room/room-controller.js @@ -220,7 +220,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput']) }; var paginate = function(numItems) { - // console.log("paginate " + numItems); + //console.log("paginate " + numItems + " and first_pagination is " + $scope.state.first_pagination); if ($scope.state.paginating || !$scope.room_id) { return; } @@ -260,7 +260,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput']) } if ($scope.state.first_pagination) { - scrollToBottom(); + scrollToBottom(true); $scope.state.first_pagination = false; } else { |