From 464d6cdc5afd4ad4c91ade2f5c5c8afd4ab57c4c Mon Sep 17 00:00:00 2001 From: Max Lehmann Date: Thu, 11 Jun 2020 15:09:13 +0200 Subject: [PATCH] Update '12/index.html' --- 12/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()