diff --git a/static/js/check_new_messages.js b/static/js/check_new_messages.js
index f457de2..954e3a5 100644
--- a/static/js/check_new_messages.js
+++ b/static/js/check_new_messages.js
@@ -35,9 +35,10 @@ function check_window_tm(){
let intervl = setInterval(function () {
window = document.querySelector(".container-messages")
- if (window !== null){
- clearInterval(intervl)
- checkOpenWindow(window)
+ if (window === null){
+
+ } else {
+
}
},
1000)
diff --git a/templates/blocks/profile/b_chats.html b/templates/blocks/profile/b_chats.html
index d362b0f..745a263 100644
--- a/templates/blocks/profile/b_chats.html
+++ b/templates/blocks/profile/b_chats.html
@@ -51,7 +51,7 @@
-