|
|
@ -275,9 +275,10 @@
|
|
|
|
//liveplayer(document.querySelector("#week_04"),document.querySelector("#iframe_04"));
|
|
|
|
//liveplayer(document.querySelector("#week_04"),document.querySelector("#iframe_04"));
|
|
|
|
document.querySelector("#iframe").addEventListener("load",function(){
|
|
|
|
document.querySelector("#iframe").addEventListener("load",function(){
|
|
|
|
document.querySelector("#shell_03").classList.remove("hidden");
|
|
|
|
document.querySelector("#shell_03").classList.remove("hidden");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
var iframe_loaded=false;
|
|
|
|
document.querySelector("#implicancies_05 .etherpad_iframe").addEventListener("load",function(){
|
|
|
|
document.querySelector("#implicancies_05 .etherpad_iframe").addEventListener("load",function(){
|
|
|
|
|
|
|
|
iframe_loaded=true;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
document.querySelector("#implicancies_05 .etherpadlink").addEventListener("click",function(e){
|
|
|
|
document.querySelector("#implicancies_05 .etherpadlink").addEventListener("click",function(e){
|
|
|
@ -287,8 +288,7 @@
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
document.querySelector("#implicancies_05 .etherpad_iframe").parentNode.classList.add("hidden");
|
|
|
|
document.querySelector("#implicancies_05 .etherpad_iframe").parentNode.classList.add("hidden");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log("*",document.querySelector("#implicancies_05 .etherpad_iframe").src)
|
|
|
|
if(iframe_loaded){
|
|
|
|
if(document.querySelector("#implicancies_05 .etherpad_iframe").src){
|
|
|
|
|
|
|
|
console.log("preventDefault")
|
|
|
|
console.log("preventDefault")
|
|
|
|
e.preventDefault()
|
|
|
|
e.preventDefault()
|
|
|
|
}
|
|
|
|
}
|
|
|
|