mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
removed some logging
This commit is contained in:
@@ -26,14 +26,11 @@ document.getElementById("chat-btn").addEventListener("click", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(".chat-tab").click(function(){
|
$(".chat-tab").click(function(){
|
||||||
console.log("clik");
|
|
||||||
$("#text-chat-input").focus();
|
$("#text-chat-input").focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on("chat.all", function(data)
|
socket.on("chat.all", function(data)
|
||||||
{
|
{
|
||||||
console.log("chat.all");
|
|
||||||
console.log(document.hidden);
|
|
||||||
if($("#chat-bar").position()["left"] != 0)
|
if($("#chat-bar").position()["left"] != 0)
|
||||||
{
|
{
|
||||||
//$("#chat-btn").css("color", "grey");
|
//$("#chat-btn").css("color", "grey");
|
||||||
@@ -59,7 +56,6 @@ socket.on("chat.all", function(data)
|
|||||||
$(window).focus(function(){
|
$(window).focus(function(){
|
||||||
if(unseen)
|
if(unseen)
|
||||||
{
|
{
|
||||||
console.log("unseen");
|
|
||||||
$("#favicon").attr("href", "static/images/favicon.png");
|
$("#favicon").attr("href", "static/images/favicon.png");
|
||||||
unseen = false;
|
unseen = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user