diff --git a/12/index.html b/12/index.html index 911163d..c939ef6 100644 --- a/12/index.html +++ b/12/index.html @@ -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()