From 9bf5307e97f9c55b9ede2142d0ece103caa97217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E5=9D=9A=E6=9E=9C?= <753610399@qq.com> Date: Wed, 21 Oct 2020 12:06:56 +0800 Subject: [PATCH] =?UTF-8?q?QuickStart=E6=B7=BB=E5=8A=A0=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E6=8F=92=E4=BB=B6=E6=96=B9=E4=BE=BF=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QuickStart.html | 2 +- app-support-sample/QuickStart.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QuickStart.html b/QuickStart.html index 73aa9d2..d336d92 100644 --- a/QuickStart.html +++ b/QuickStart.html @@ -353,7 +353,7 @@ var elem=document.createElement("script"); elem.setAttribute("type","text/javascript"); elem.setAttribute("src","https://cdn.bootcss.com/eruda/1.5.4/eruda.min.js"); - $("head")[0].appendChild(elem); + document.body.appendChild(elem); elem.onload=function(){ eruda.init(); }; diff --git a/app-support-sample/QuickStart.html b/app-support-sample/QuickStart.html index 18a46c4..b04d84d 100644 --- a/app-support-sample/QuickStart.html +++ b/app-support-sample/QuickStart.html @@ -416,7 +416,7 @@ var elem=document.createElement("script"); elem.setAttribute("type","text/javascript"); elem.setAttribute("src","https://cdn.bootcss.com/eruda/1.5.4/eruda.min.js"); - $("head")[0].appendChild(elem); + document.body.appendChild(elem); elem.onload=function(){ eruda.init(); };