mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to lowen loadtime from channel to frontpage
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
2
static/dist/frontpage.min.js
vendored
2
static/dist/frontpage.min.js
vendored
File diff suppressed because one or more lines are too long
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -422,7 +422,7 @@ function onepage_load(){
|
||||
document.getElementById("playpause").removeEventListener("click", Playercontrols.play_pause);
|
||||
document.getElementById("fullscreen").removeEventListener("click", Playercontrols.fullscreen);
|
||||
|
||||
setTimeout(function(){
|
||||
//setTimeout(function(){
|
||||
|
||||
video_id = "";
|
||||
song_title = "";
|
||||
@@ -444,14 +444,14 @@ function onepage_load(){
|
||||
if($("#alreadyfp").length == 1){
|
||||
window.initfp();
|
||||
}else {
|
||||
$("#scripts").append($($(e)[45]).html());
|
||||
$("#scripts").append($($(e)[63]).html());
|
||||
}
|
||||
|
||||
if($("#alreadychannel").length == 0){
|
||||
$("head").append("<div id='alreadychannel'></div")
|
||||
}
|
||||
$("#channel-load").css("display", "none");
|
||||
}, 1000);
|
||||
//}, 1000);
|
||||
|
||||
document.title = "Zöff";
|
||||
|
||||
|
||||
@@ -227,6 +227,7 @@ var Nochan = {
|
||||
|
||||
$.ajax({
|
||||
url: chan + "/php/index.php",
|
||||
|
||||
success: function(e){
|
||||
|
||||
//console.log($(e));
|
||||
|
||||
Reference in New Issue
Block a user