Fixed issue where chat-blinking pointed to a dead local link

This commit is contained in:
Kasper Rynning-Tønnesen
2017-06-15 13:51:13 +02:00
parent 7e0b1d9034
commit 2a87d4f10e
5 changed files with 10 additions and 10 deletions

View File

@@ -81,7 +81,7 @@ var Chat = {
if(inp.msg.substring(0,1) == ":" && !chat_active)
{
Chat.all_received += 1;
$("#favicon").attr("href", "public/images/highlogo.png");
$("#favicon").attr("href", "assets/images/highlogo.png");
unseen = true;
chat_unseen = true;
if($(".chat-link span.badge.new.white").hasClass("hide")){
@@ -95,7 +95,7 @@ var Chat = {
if(document.hidden)
{
$("#favicon").attr("href", "public/images/highlogo.png");
$("#favicon").attr("href", "assets/images/highlogo.png");
}
if($("#chatall").children().length > 100){
@@ -119,7 +119,7 @@ var Chat = {
{
if(data.msg.substring(0,1) == ":" && !chat_active)
{
$("#favicon").attr("href", "public/images/highlogo.png");
$("#favicon").attr("href", "assets/images/highlogo.png");
unseen = true;
chat_unseen = true;
Chat.channel_received += 1;