Update '12/index.html'

master
Claxhanson 5 years ago
parent 892c59df7b
commit ae9cddef1e

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

Loading…
Cancel
Save