mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Full path instead of relative for assets on chat
This commit is contained in:
2
server/public/assets/dist/main.min.js
vendored
2
server/public/assets/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -81,7 +81,7 @@ var Chat = {
|
||||
if(inp.msg.substring(0,1) == ":" && !chat_active)
|
||||
{
|
||||
Chat.all_received += 1;
|
||||
$("#favicon").attr("href", "assets/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", "assets/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", "assets/images/highlogo.png");
|
||||
$("#favicon").attr("href", "/assets/images/highlogo.png");
|
||||
unseen = true;
|
||||
chat_unseen = true;
|
||||
Chat.channel_received += 1;
|
||||
|
||||
@@ -1350,7 +1350,7 @@ $(document).on("submit", "#listImportSpotify", function(e){
|
||||
});
|
||||
|
||||
$(window).focus(function(){
|
||||
$("#favicon").attr("href", "assets/images/favicon.png");
|
||||
$("#favicon").attr("href", "/assets/images/favicon.png");
|
||||
unseen = false;
|
||||
});
|
||||
|
||||
@@ -1389,7 +1389,7 @@ $(document).on("click", ".chat-link", function(){
|
||||
$(".chat-link span.badge.new.white").addClass("hide");
|
||||
}
|
||||
unseen = false;
|
||||
$("#favicon").attr("href", "assets/images/favicon.png");
|
||||
$("#favicon").attr("href", "/assets/images/favicon.png");
|
||||
});
|
||||
|
||||
function searchTimeout(event) {
|
||||
@@ -1441,7 +1441,7 @@ $(document).on("click", ".chat-link", function(e){
|
||||
chat_unseen = false;
|
||||
$(".chat-link").attr("style", "color: white !important;");
|
||||
blinking = false;
|
||||
$("#favicon").attr("href", "assets/images/favicon.png");
|
||||
$("#favicon").attr("href", "/assets/images/favicon.png");
|
||||
$("#chatPlaylist").css("display", "block");
|
||||
$("#wrapper").css("display", "none");
|
||||
$("#suggestions").css("display", "none");
|
||||
@@ -1840,7 +1840,7 @@ function onepage_load(){
|
||||
else $("main").append($(response.find("#main_section_frontpage")).wrap("<div>").parent().html());
|
||||
$(".page-footer").removeClass("padding-bottom-extra");
|
||||
$(".page-footer").removeClass("padding-bottom-novideo");
|
||||
$("#favicon").attr("href", "assets/images/favicon.png");
|
||||
$("#favicon").attr("href", "/assets/images/favicon.png");
|
||||
|
||||
$(".context-menu-list").remove();
|
||||
Helper.log(socket);
|
||||
|
||||
Reference in New Issue
Block a user