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 | |
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')
-rwxr-xr-x | webclient/app.css | 3 | ||||
-rw-r--r-- | webclient/room/room-controller.js | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/webclient/app.css b/webclient/app.css index a277bd2a59..064f626f0b 100755 --- a/webclient/app.css +++ b/webclient/app.css @@ -529,7 +529,8 @@ a:active { color: #000; } .bubble .message { /* Break lines when encountering CR+LF */ - white-space: pre; + /* FIXME: this breaks wordwrapping. We need to s#CRLF#<br/>#g instead */ +/* white-space: pre; */ } .bubble .messagePending { opacity: 0.3 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 { |