mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Changed timing of when snow appears
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
6
public/dist/main.min.js
vendored
6
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -4,7 +4,7 @@ var Crypt = {
|
|||||||
|
|
||||||
init: function(){
|
init: function(){
|
||||||
|
|
||||||
document.cookie = chan.toLowerCase() + '=; path=/' + chan.toLowerCase() + ';secure;expires=' + new Date(0).toUTCString();
|
document.cookie = chan.toLowerCase() + '=;path=/' + chan.toLowerCase() + ';secure;expires=' + new Date(0).toUTCString();
|
||||||
|
|
||||||
try{
|
try{
|
||||||
conf_arr = Crypt.decrypt(Crypt.getCookie("_opt"), "_opt");
|
conf_arr = Crypt.decrypt(Crypt.getCookie("_opt"), "_opt");
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ var access_token_data_youtube = {};
|
|||||||
var youtube_authenticated = false;
|
var youtube_authenticated = false;
|
||||||
var chromecastAvailable = false;
|
var chromecastAvailable = false;
|
||||||
var color = "808080";
|
var color = "808080";
|
||||||
|
var find_start = false;
|
||||||
|
var find_started = false;
|
||||||
var chromecastReady = false;
|
var chromecastReady = false;
|
||||||
var castSession;
|
var castSession;
|
||||||
|
|
||||||
@@ -1055,6 +1057,33 @@ $(document).on("click", "#bottom-button", function(){
|
|||||||
List.scrollBottom();
|
List.scrollBottom();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
$(document).keydown(function(event) {
|
||||||
|
//console.log(find_start);
|
||||||
|
//console.log(event.keyCode);
|
||||||
|
if(event.keyCode == 91 || event.keyCode == 17){
|
||||||
|
find_start = true;
|
||||||
|
} else if(find_start && event.keyCode == 70){
|
||||||
|
find_start = false;
|
||||||
|
find_started = !find_started;
|
||||||
|
//event.preventDefault();
|
||||||
|
if(find_started){
|
||||||
|
console.log("time to search");
|
||||||
|
} else {
|
||||||
|
console.log("abort search");
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
find_start = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).keyup(function(event){
|
||||||
|
if((event.keyCode == 91 || event.keyCode == 17) && !find_started){
|
||||||
|
find_start = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
function share_link_modifier_channel(){
|
function share_link_modifier_channel(){
|
||||||
$("#facebook-code-link").attr("href", "https://www.facebook.com/sharer/sharer.php?u=https://zoff.no/" + chan.toLowerCase());
|
$("#facebook-code-link").attr("href", "https://www.facebook.com/sharer/sharer.php?u=https://zoff.no/" + chan.toLowerCase());
|
||||||
$("#facebook-code-link").attr("onclick", "window.open('https://www.facebook.com/sharer/sharer.php?u=https://zoff.no/" + chan.toLowerCase() + "', 'Share Playlist','width=600,height=300'); return false;");
|
$("#facebook-code-link").attr("onclick", "window.open('https://www.facebook.com/sharer/sharer.php?u=https://zoff.no/" + chan.toLowerCase() + "', 'Share Playlist','width=600,height=300'); return false;");
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ var Nochan = {
|
|||||||
|
|
||||||
blob_list: [],
|
blob_list: [],
|
||||||
|
|
||||||
winter: (new Date()).getMonth() >= 10 || (new Date()).getMonth() <= 1 ? true : false,
|
winter: (new Date()).getMonth() >= 10 ? true : false,
|
||||||
|
|
||||||
times_rotated: 0,
|
times_rotated: 0,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user