From 4243a41e3161fa05d5c7ebe18fe9f9eb04a0b0c9 Mon Sep 17 00:00:00 2001 From: "xiaoqi.cxq" Date: Thu, 30 Mar 2023 18:21:22 +0800 Subject: [PATCH] update share.html --- static/landing/share.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/static/landing/share.html b/static/landing/share.html index eb0d450d..3f5c85e6 100644 --- a/static/landing/share.html +++ b/static/landing/share.html @@ -1,7 +1,7 @@ - StackEdit中文版 + 文章分享 - StackEdit中文版 @@ -123,10 +123,10 @@ } else if (xhr.status === 403) { const rateLimit = xhr.responseText && xhr.responseText.indexOf('Rate Limit') >= 0; const appUri = `${window.location.protocol}//${window.location.host}/app`; - document.getElementsByClassName('share-content')[0].innerHTML = `${rateLimit ? "请求太过频繁" : "无权限访问"},请登录 主文档空间 后再刷新此页面!`; + document.getElementById('div_info').innerHTML = `${rateLimit ? "请求太过频繁" : "无权限访问"},请登录 主文档空间 后再刷新此页面!`; } else { console.error('An error occurred: ' + xhr.status); - document.getElementsByClassName('share-content')[0].innerHTML = '分享内容获取失败或已失效!'; + document.getElementById('div_info').innerHTML = '分享内容获取失败或已失效!'; } }; xhr.send(); @@ -136,17 +136,17 @@
-
文章加载中......
+
文章加载中......