mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Used realfavicongenerator.net to generate new favicons
This commit is contained in:
@@ -193,7 +193,7 @@ var Frontpage = {
|
||||
var img = new Image();
|
||||
img.src = "/assets/images/thumbnails/"+id+".jpg";
|
||||
|
||||
img.onerror = function(){ // Failed to load
|
||||
img.onerror = function(e){ // Failed to load
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
data: {id:id},
|
||||
|
||||
@@ -351,6 +351,10 @@ function init(){
|
||||
$("#embed-area").val(embed_code(embed_autoplay, embed_width, embed_height, color));
|
||||
$("#search").attr("placeholder", "Find song on YouTube...");
|
||||
|
||||
if(!$("footer").hasClass("padding-bottom-novideo")) {
|
||||
$("footer").addClass("padding-bottom-novideo");
|
||||
}
|
||||
|
||||
if(!/chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) && !Helper.mobilecheck()){
|
||||
$(".castButton").css("display", "none");
|
||||
}
|
||||
@@ -1919,7 +1923,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-32x32.png");
|
||||
|
||||
$(".context-menu-list").remove();
|
||||
Helper.log(socket);
|
||||
|
||||
Reference in New Issue
Block a user