diff --git a/application/controllers/Sse.php b/application/controllers/Sse.php index aafbf70..b83c03e 100644 --- a/application/controllers/Sse.php +++ b/application/controllers/Sse.php @@ -80,7 +80,7 @@ function stream($sse_func = "") // CHATS get sent when new chat's arrive by watching the chat_key for changes. These are also sent // regardless of which page a user is on. - if ((1==1 || $this->session->userdata('chat_balloon')) && $last_keys->chat_key != $keys->chat_key) + if ($this->session->userdata('chat_balloon') && $last_keys->chat_key != $keys->chat_key) { // If the chat_key is new, output chats that occured since the last one. // Need a way to know to send chats if chat_balloon is disabled...ran into complications because two windows could be open. diff --git a/application/views/template/body_js.php b/application/views/template/body_js.php index 4be00c8..6b52235 100755 --- a/application/views/template/body_js.php +++ b/application/views/template/body_js.php @@ -29,5 +29,5 @@ - - + + diff --git a/application/views/template/head_css.php b/application/views/template/head_css.php index 0247723..657ff61 100755 --- a/application/views/template/head_css.php +++ b/application/views/template/head_css.php @@ -10,5 +10,5 @@ - + diff --git a/application/views/template/header.php b/application/views/template/header.php index db32b6f..82994f7 100644 --- a/application/views/template/header.php +++ b/application/views/template/header.php @@ -19,7 +19,7 @@ Chat --> -