mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added blinking to only when chat messages sent
This commit is contained in:
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -38,7 +38,7 @@ var Chat = {
|
|||||||
{
|
{
|
||||||
//$("#chat-btn").css("color", "grey");
|
//$("#chat-btn").css("color", "grey");
|
||||||
|
|
||||||
if(!blink_interval_exists && inp.indexOf("changed name to") > -1)
|
if(!blink_interval_exists && inp.indexOf("changed name to") < 0)
|
||||||
{
|
{
|
||||||
$("#favicon").attr("href", "static/images/highlogo.png");
|
$("#favicon").attr("href", "static/images/highlogo.png");
|
||||||
blink_interval_exists = true;
|
blink_interval_exists = true;
|
||||||
@@ -73,7 +73,7 @@ var Chat = {
|
|||||||
{
|
{
|
||||||
if(data[1].indexOf(":") >= 0){
|
if(data[1].indexOf(":") >= 0){
|
||||||
//$("#chat-btn").css("color", "grey");
|
//$("#chat-btn").css("color", "grey");
|
||||||
if(!blink_interval_exists && data.indexOf("changed name to") > -1)
|
if(!blink_interval_exists && data.indexOf("changed name to") < 0)
|
||||||
{
|
{
|
||||||
$("#favicon").attr("href", "static/images/highlogo.png");
|
$("#favicon").attr("href", "static/images/highlogo.png");
|
||||||
blink_interval_exists = true;
|
blink_interval_exists = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user