Removed some logs

This commit is contained in:
Kasper Rynning-Tønnesen
2017-02-22 12:37:02 +01:00
parent c6118d50ff
commit 30757fa0ec
5 changed files with 5 additions and 20 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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();
}

View File

@@ -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!");

View File

@@ -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;
});