1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-20 12:52:58 +00:00

Fix remaining CSS issues

This commit is contained in:
Loic Blot
2018-11-11 12:07:47 +01:00
parent d87259366f
commit 95749f6d20
3 changed files with 5 additions and 16 deletions
+3 -3
View File
@@ -9,7 +9,7 @@
*/
var Conversation = new Vue({
el: '#app-conversation',
el: '#app-content',
data: {
selectedContact: {},
isConvLoading: false,
@@ -54,7 +54,7 @@ var Conversation = new Vue({
self.totalMessageCount = jsondata['msgCount'] !== undefined ? jsondata['msgCount'] : 0;
self.isConvLoading = false;
$('#app-conversation').scrollTop(1E10);
$('#app-content').scrollTop(1E10);
// If refreshInterval is already bound, clear previous
if (self.refreshIntervalId !== null) {
@@ -76,7 +76,7 @@ var Conversation = new Vue({
var fmt = self.formatConversation(jsondata);
var conversationBuf = fmt[1];
if (conversationBuf === true) {
$('#app-conversation').scrollTop(1E10);
$('#app-content').scrollTop(1E10);
// This will blink the tab because there is new messages
if (document.hasFocus() === false) {
Sms.unreadCountCurrentConv += parseInt(fmt[0]);