remove console.log() for some functions
This commit is contained in:
+2
-19
@@ -37,10 +37,6 @@ jQuery(function($) {
|
||||
const jmTXT = "Allons-nous-en, dit le postillon, de ses moeurs que pour les gens de génie. Donnez-la-moi pour que je me contiens plus. Veuillez écouter, je force ceux qui veulent mourir, me dit mon oncle, c'est infaillible, mon cher... Perdue, la pauvre malheureuse se débattit contre la crise qui venait d'avoir un papa absent. Point du tout : je ne suis rien. ";
|
||||
|
||||
// debug
|
||||
console.log("testing function")
|
||||
console.log(chckGender());
|
||||
|
||||
|
||||
loadapi();
|
||||
function getData(gender) {
|
||||
let malecnt = chckGender()[0];
|
||||
@@ -68,7 +64,6 @@ jQuery(function($) {
|
||||
{
|
||||
console.log("already loaded");
|
||||
}
|
||||
console.log(equLoaded);
|
||||
}
|
||||
|
||||
$("#rss-feeds").rss("https://anchor.fm/s/af11b98/podcast/rss", {
|
||||
@@ -138,8 +133,6 @@ jQuery(function($) {
|
||||
countMale = -1;
|
||||
countFemale = -1;
|
||||
let body = "";
|
||||
console.log("ayyyy");
|
||||
|
||||
nomsEqu.forEach(equipeTable);
|
||||
document.getElementById("equtbbody").innerHTML = body;
|
||||
function equipeTable(item, index) {
|
||||
@@ -147,12 +140,9 @@ jQuery(function($) {
|
||||
let picurl;
|
||||
let count;
|
||||
nomdesc = equipeText(item);
|
||||
console.log(nomdesc[0]);
|
||||
console.log(nomdesc[1]);
|
||||
if (nomdesc[1]){picurl = getData('female');countFemale++;count = countFemale;console.log(countFemale);}
|
||||
else{picurl = getData('male');countMale++;count = countMale;console.log(countMale);};
|
||||
if (nomdesc[1]){picurl = getData('female');countFemale++;count = countFemale;}
|
||||
else{picurl = getData('male');countMale++;count = countMale;};
|
||||
try {
|
||||
console.log(picurl);
|
||||
body += "<tr><td><div id='playerwindow' class='window' style='margin: auto;'><div class='title-bar' style='padding-top: 15px; padding-bottom: 15px;'><div id='title-bar-xp'class='title-bar-text'> " + nomdesc[0] + "</div></div><div class='window-body'><img src='" + picurl.toString() + "'></div></div></td><td style='padding-top: 3%;'><div id='playerwindow' class='window'><div class='title-bar'style='padding-top: 15px; padding-bottom: 15px;'><div id='title-bar-xp'class='title-bar-text'>Meaculpa.mpeg</div><div class='title-bar-controls'><button aria-label='Close'></button></div></div><div class='window-body'>" + nomdesc[2] + "</td></div></div></tr>";
|
||||
apiLoaded = 1;
|
||||
equLoaded = 1;
|
||||
@@ -230,7 +220,6 @@ jQuery(function($) {
|
||||
}
|
||||
|
||||
var audio = document.getElementById('player');
|
||||
console.log(audio.src);
|
||||
|
||||
// check if ep is in cache
|
||||
|
||||
@@ -238,7 +227,6 @@ jQuery(function($) {
|
||||
|
||||
// cookie last playback
|
||||
if (Cookies.get("lastep-title")) {
|
||||
console.log("playback function")
|
||||
document.getElementById("lienep").innerHTML= Cookies.get("lastep-title");
|
||||
document.getElementById("sbody").innerHTML= Cookies.get("lastep-body") + "....";
|
||||
document.getElementById("player").setAttribute('src', Cookies.get("lastep-src"));
|
||||
@@ -256,7 +244,6 @@ jQuery(function($) {
|
||||
|
||||
function checkepcache(){
|
||||
if (Cookies.get("lastep-src")){
|
||||
console.log("yahh");
|
||||
const epstab = document.getElementById("epstab");
|
||||
playicon();
|
||||
};
|
||||
@@ -283,7 +270,6 @@ jQuery(function($) {
|
||||
epstab.innerHTML = "épisodes";
|
||||
}
|
||||
else {
|
||||
console.log("ayyyy");
|
||||
epstab.innerHTML = "<img id='playicon' src='assets/img/spek.icon.svg' width='20px'></img>" + " épisodes";
|
||||
}
|
||||
|
||||
@@ -297,11 +283,8 @@ jQuery(function($) {
|
||||
|
||||
function play(src, title, date, body) {
|
||||
var audio = document.getElementById('player');
|
||||
console.log(src);
|
||||
console.log(title);
|
||||
var linkenc = src.substring(src.lastIndexOf('/')+1);
|
||||
var linkdec = decodeURIComponent(linkenc);
|
||||
console.log(linkdec)
|
||||
document.getElementById("lienep").innerHTML= title;
|
||||
document.getElementById("sbody").innerHTML= body + "....";
|
||||
document.getElementById("lienep").href= linkdec;
|
||||
|
||||
Reference in New Issue
Block a user