removed unnecessary logs

This commit is contained in:
Louis Croisez
2023-05-08 17:56:14 +02:00
parent efe52a4638
commit d1e0d91711
-4
View File
@@ -255,8 +255,6 @@ function toggleShiftFreq(filename, shiftAction, elem) {
elem.setAttribute("onclick", elem.getAttribute("onclick").replace("shift","unshift")); elem.setAttribute("onclick", elem.getAttribute("onclick").replace("shift","unshift"));
console.log("shifted freqs of " + filename); console.log("shifted freqs of " + filename);
video=elem.parentNode.getElementsByTagName("video"); video=elem.parentNode.getElementsByTagName("video");
console.log(video)
console.log("len of video: " + video.length)
if (video.length > 0) { if (video.length > 0) {
video[0].setAttribute("title", video[0].getAttribute("title").replace("/By_Date/","/By_Date/shifted/")); video[0].setAttribute("title", video[0].getAttribute("title").replace("/By_Date/","/By_Date/shifted/"));
source = video[0].getElementsByTagName("source")[0]; source = video[0].getElementsByTagName("source")[0];
@@ -272,8 +270,6 @@ function toggleShiftFreq(filename, shiftAction, elem) {
elem.setAttribute("onclick", elem.getAttribute("onclick").replace("unshift","shift")); elem.setAttribute("onclick", elem.getAttribute("onclick").replace("unshift","shift"));
console.log("unshifted freqs of " + filename); console.log("unshifted freqs of " + filename);
video=elem.parentNode.getElementsByTagName("video"); video=elem.parentNode.getElementsByTagName("video");
console.log(video)
console.log("len of video: " + video.length)
if (video.length > 0) { if (video.length > 0) {
video[0].setAttribute("title", video[0].getAttribute("title").replace("/By_Date/shifted/","/By_Date/")); video[0].setAttribute("title", video[0].getAttribute("title").replace("/By_Date/shifted/","/By_Date/"));
source = video[0].getElementsByTagName("source")[0]; source = video[0].getElementsByTagName("source")[0];