mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-07 15:31:52 +00:00
Formatting
This commit is contained in:
parent
0e6a2f87f9
commit
60a9f27edb
@ -24,7 +24,7 @@ angular.module('RoomController', [])
|
||||
element = el;
|
||||
}
|
||||
this.addItem = function(item){
|
||||
element.scrollTop = (element.scrollTop+item.clientHeight+1); //1px for margin
|
||||
element.scrollTop = (element.scrollTop + item.clientHeight);
|
||||
};
|
||||
},
|
||||
link : function(scope, el, attr, ctrl) {
|
||||
|
@ -63,7 +63,7 @@
|
||||
<button ng-click="send()">Send</button>
|
||||
</td>
|
||||
<td width="1">
|
||||
{{ feedback }}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -87,6 +87,7 @@
|
||||
</span>
|
||||
<button ng-click="leaveRoom()">Leave</button>
|
||||
<button ng-click="loadMoreHistory()" ng-disabled="!state.can_paginate">Load more history</button>
|
||||
{{ feedback }}
|
||||
<div ng-hide="!state.stream_failure">
|
||||
{{ state.stream_failure.data.error || "Connection failure" }}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user