aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_chat.css8
-rw-r--r--view/tpl/chat.tpl4
2 files changed, 6 insertions, 6 deletions
diff --git a/view/css/mod_chat.css b/view/css/mod_chat.css
index 7f33f2c48..ce6e59af1 100644
--- a/view/css/mod_chat.css
+++ b/view/css/mod_chat.css
@@ -1,23 +1,23 @@
- .chatContainer {
+ #chatContainer {
height: 100%;
width: 100%;
}
- .chatTopBar {
+ #chatTopBar {
float: left;
height: 400px;
width: 650px;
overflow-y: auto;
}
- .chatUsers {
+ #chatUsers {
float: right;
width: 120px;
height: 100%;
border: 1px solid #000;
}
- .chatBottomBar {
+ #chatBottomBar {
position: relative;
bottom: 0;
height: 150px;
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl
index eb98063fa..e4cd1d20b 100644
--- a/view/tpl/chat.tpl
+++ b/view/tpl/chat.tpl
@@ -47,8 +47,8 @@ $('#chat-form').submit(function(ev) {
function load_chats() {
- $.get("chatsvc?f=&room_id=" + room_id + '&last=' + last_chat,function(data) {
- if(data.success) {
+ $.get("chatsvc?f=&room_id=" + room_id + '&last=' + last_chat + ((stopped) ? '&stopped=1' : ''),function(data) {
+ if(data.success && (! stopped)) {
update_inroom(data.inroom);
update_chats(data.chats);
}