mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-25 05:00:16 +00:00
remove logging
This commit is contained in:
parent
192d379a3e
commit
f802c4d596
@ -192,7 +192,6 @@ function addSingle(button) {
|
|||||||
function deleteQueue(button) {
|
function deleteQueue(button) {
|
||||||
var to_delete = button.getAttribute('data-id');
|
var to_delete = button.getAttribute('data-id');
|
||||||
var payload = JSON.stringify({'deleteQueue': to_delete});
|
var payload = JSON.stringify({'deleteQueue': to_delete});
|
||||||
console.log(payload);
|
|
||||||
sendPost(payload);
|
sendPost(payload);
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
location.reload();
|
location.reload();
|
||||||
@ -315,7 +314,6 @@ function deletePlaylist(button) {
|
|||||||
"playlist-action": playlist_action
|
"playlist-action": playlist_action
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.log(payload);
|
|
||||||
sendPost(payload);
|
sendPost(payload);
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
window.location.replace("/playlist/");
|
window.location.replace("/playlist/");
|
||||||
@ -418,7 +416,6 @@ function createVideoTag(videoData, videoProgress) {
|
|||||||
var videoSubtitles = videoData.data.subtitles; // Array of subtitles
|
var videoSubtitles = videoData.data.subtitles; // Array of subtitles
|
||||||
if (typeof(videoSubtitles) != 'undefined' && videoData.config.downloads.subtitle) {
|
if (typeof(videoSubtitles) != 'undefined' && videoData.config.downloads.subtitle) {
|
||||||
for (var i = 0; i < videoSubtitles.length; i++) {
|
for (var i = 0; i < videoSubtitles.length; i++) {
|
||||||
console.log(videoSubtitles[i]);
|
|
||||||
let label = videoSubtitles[i].name;
|
let label = videoSubtitles[i].name;
|
||||||
if (videoSubtitles[i].source == "auto") {
|
if (videoSubtitles[i].source == "auto") {
|
||||||
label += " - auto";
|
label += " - auto";
|
||||||
|
Loading…
Reference in New Issue
Block a user