mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated so the placeholder on the frontpage changes
This commit is contained in:
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/main.min.js
vendored
2
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -187,7 +187,6 @@ var Frontpage = {
|
|||||||
if(i >= list.length || i >= 20) i = 0;
|
if(i >= list.length || i >= 20) i = 0;
|
||||||
|
|
||||||
var id = list[i].id;
|
var id = list[i].id;
|
||||||
|
|
||||||
if(Frontpage.blob_list[i] !== undefined){
|
if(Frontpage.blob_list[i] !== undefined){
|
||||||
//$(".room-namer").css("opacity", 0);
|
//$(".room-namer").css("opacity", 0);
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
@@ -195,7 +194,7 @@ var Frontpage = {
|
|||||||
$("#mega-background").css("background", "url(data:image/png;base64,"+Frontpage.blob_list[i]+")");
|
$("#mega-background").css("background", "url(data:image/png;base64,"+Frontpage.blob_list[i]+")");
|
||||||
$("#mega-background").css("background-size" , "200%");
|
$("#mega-background").css("background-size" , "200%");
|
||||||
$("#mega-background").css("opacity", 1);
|
$("#mega-background").css("opacity", 1);
|
||||||
$("#searchFrontpage").attr("placeholder", list[i].channel);
|
$(".desktop-search").attr("placeholder", list[i].channel);
|
||||||
//$(".room-namer").css("opacity", 1);
|
//$(".room-namer").css("opacity", 1);
|
||||||
}
|
}
|
||||||
},500);
|
},500);
|
||||||
@@ -216,7 +215,7 @@ var Frontpage = {
|
|||||||
$("#mega-background").css("background", "url(data:image/png;base64,"+data+")");
|
$("#mega-background").css("background", "url(data:image/png;base64,"+data+")");
|
||||||
$("#mega-background").css("background-size" , "200%");
|
$("#mega-background").css("background-size" , "200%");
|
||||||
$("#mega-background").css("opacity", 1);
|
$("#mega-background").css("opacity", 1);
|
||||||
$("#searchFrontpage").attr("placeholder", list[i].channel);
|
$(".desktop-search").attr("placeholder", list[i].channel);
|
||||||
//$(".room-namer").css("opacity", 1);
|
//$(".room-namer").css("opacity", 1);
|
||||||
},500);
|
},500);
|
||||||
//then append the result where ever you want like
|
//then append the result where ever you want like
|
||||||
@@ -229,7 +228,7 @@ var Frontpage = {
|
|||||||
$("#mega-background").css("background", "url("+img.src+")");
|
$("#mega-background").css("background", "url("+img.src+")");
|
||||||
$("#mega-background").css("background-size" , "200%");
|
$("#mega-background").css("background-size" , "200%");
|
||||||
$("#mega-background").css("opacity", 1);
|
$("#mega-background").css("opacity", 1);
|
||||||
$("#searchFrontpage").attr("placeholder", list[i].channel);
|
$(".desktop-search").attr("placeholder", list[i].channel);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user