From f32f4d3bec9b800da83bdd1cdde26201ee068608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=86=E7=93=9C=E4=BA=91?= Date: Mon, 31 Jul 2023 15:15:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E8=A6=81=E5=85=88display=20iframe?= =?UTF-8?q?=E6=89=8D=E5=8F=AF=E4=BB=A5=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- post_example.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/post_example.html b/post_example.html index 8cbf3fd..431be3b 100644 --- a/post_example.html +++ b/post_example.html @@ -28,7 +28,6 @@ h1 {display:flex;} .title-right button{margin-left:8px;padding:16px;} .SideNav{min-width: 360px;} .SideNav-icon{margin-right: 16px} -.comments{border-top: 2px solid var(--color-border-default);margin-top:64px;} .footer {margin: 40px auto; text-align: center;font-size: small;} #cmButton{height:48px;margin-top:48px;} @@ -48,7 +47,7 @@ h1 {display:flex;}
- +
@@ -165,8 +164,8 @@ function iFrameLoading(){ function iFrameOK(){ utterancesLoad=1; int=window.clearInterval(int); + document.getElementById("comments").setAttribute("style","border-top: 2px solid var(--color-border-default);margin-top:64px;"); document.getElementById("cmButton").style.display="none"; - document.getElementById("comments").style.display="block"; console.log("utterances Load OK"); }