mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removed some logs
This commit is contained in:
2
public/dist/embed.min.js
vendored
2
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
8
public/dist/main.min.js
vendored
8
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -388,7 +388,6 @@ function initfp(){
|
||||
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
|
||||
else add = window.location.hostname;
|
||||
if(socket === undefined || Helper.mobilecheck()) socket = io.connect(''+add+':8080', connection_options);
|
||||
window.socket = socket;
|
||||
if($("#alreadyfp").length === 0 || Helper.mobilecheck() || !socket._callbacks.$playlists){
|
||||
setup_playlist_listener();
|
||||
}
|
||||
|
||||
@@ -107,7 +107,6 @@ var List = {
|
||||
}
|
||||
if(list_html === undefined) list_html = $("#list-song-html").html();
|
||||
full_playlist = msg;
|
||||
console.log(full_playlist.length);
|
||||
if(offline && !no_reset){
|
||||
for(var x = 0; x < full_playlist.length; x++){
|
||||
full_playlist[x].votes = 0;
|
||||
@@ -712,15 +711,6 @@ var List = {
|
||||
var playlist_id = response.id;
|
||||
var request_url = "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet";
|
||||
List.addToYoutubePlaylist(playlist_id, full_playlist, number_added, request_url)
|
||||
/*$.each(full_playlist, function(i, data){
|
||||
//console.log(data.id);
|
||||
//var id = data.id;
|
||||
setTimeout(function(){
|
||||
console.log(id);
|
||||
List.addToYoutubePlaylist(playlist_id, id, number_added, request_url)
|
||||
number_added = number_added + 1;
|
||||
}, 500);
|
||||
});*/
|
||||
},
|
||||
error: function(response){
|
||||
Helper.log(response);
|
||||
@@ -747,7 +737,6 @@ var List = {
|
||||
},
|
||||
data: _data,
|
||||
success: function(response){
|
||||
//console.log(response);
|
||||
Helper.log("Added video: " + full_playlist[num].id + " to playlist id " + playlist_id);
|
||||
if(num == full_playlist.length - 1){
|
||||
Helper.log("All videoes added!");
|
||||
|
||||
@@ -276,7 +276,6 @@ $().ready(function(){
|
||||
activeIndex < (numItems - 1)) {
|
||||
activeIndex++;
|
||||
}
|
||||
console.log(activeIndex);
|
||||
|
||||
$active.removeClass('active');
|
||||
if (activeIndex >= 0) {
|
||||
@@ -364,7 +363,6 @@ function init(){
|
||||
if(socket === undefined || Helper.mobilecheck()){
|
||||
no_socket = false;
|
||||
socket = io.connect(''+add+':8080', connection_options);
|
||||
window.socket = socket;
|
||||
}
|
||||
|
||||
Crypt.init();
|
||||
@@ -1030,7 +1028,6 @@ $(document).on("click", ".listen-button", function(e){
|
||||
|
||||
$(document).on("submit", ".channel-finder", function(e){
|
||||
e.preventDefault();
|
||||
//console.log($(".room-namer").val());
|
||||
Frontpage.to_channel($(".room-namer").val());
|
||||
return false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user