summary refs log tree commit diff
path: root/webclient/room
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-15 10:08:47 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-15 10:08:47 +0200
commit3292f70071f036e8a3963bf5aca0207ace93fc2f (patch)
tree18d62188c733342a205cf64ee07f6889fa647f16 /webclient/room
parentDefine a CLOS-like 'around' modifier as a decorator, to neaten up the 'orig_*... (diff)
parentunbreak wordwrapping by breaking multiline paste for now (diff)
downloadsynapse-3292f70071f036e8a3963bf5aca0207ace93fc2f.tar.xz
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'webclient/room')
-rw-r--r--webclient/room/room-controller.js4
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 {