mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 19:26:09 +02:00
init chat view
This commit is contained in:
@@ -51,5 +51,13 @@
|
||||
// Clear the message text
|
||||
vm.messageText = '';
|
||||
}
|
||||
|
||||
vm.initChatView = function () {
|
||||
var e = angular.element('.chat-message-list');
|
||||
var u = angular.element('.chat-user-list');
|
||||
var h = document.documentElement.clientHeight - 50 - 88 - 16;
|
||||
e.css('height', h + 'px');
|
||||
u.css('height', h + 'px');
|
||||
};
|
||||
}
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user