|
|
|
@ -281,13 +281,13 @@ $("#etherpad_drag").draggable({handle: '#etherpad_drag_header'});
|
|
|
|
|
document.querySelector("#shell_03").classList.remove("hidden");
|
|
|
|
|
});
|
|
|
|
|
var iframe_loaded=false;
|
|
|
|
|
document.querySelector("#implicancies_05 .etherpad_iframe").addEventListener("load",function(){
|
|
|
|
|
document.querySelector("#etherpad_drag .etherpad_iframe").addEventListener("load",function(){
|
|
|
|
|
iframe_loaded=true;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
document.querySelector("#implicancies_05 .etherpadlink").addEventListener("click",function(e){
|
|
|
|
|
document.querySelector("#etherpad_drag .etherpadlink").addEventListener("click",function(e){
|
|
|
|
|
console.log("click", e);
|
|
|
|
|
document.querySelector("#implicancies_05 .etherpad_iframe").classList.toggle("hidden");
|
|
|
|
|
document.querySelector("#etherpad_drag .etherpad_iframe").classList.toggle("hidden");
|
|
|
|
|
if(iframe_loaded){
|
|
|
|
|
console.log("preventDefault")
|
|
|
|
|
e.preventDefault()
|
|
|
|
|