From d39023df8cafc1cf233d42a148f908b66f616fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Wed, 5 Jun 2024 09:29:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E5=8F=91=E5=B8=83=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E5=98=9F=E5=98=9F=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- page-mastodon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/page-mastodon.php b/page-mastodon.php index f1f9d3f..97754d4 100644 --- a/page-mastodon.php +++ b/page-mastodon.php @@ -16,7 +16,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> -
+
@@ -67,7 +67,7 @@ window.onload = function() { } function fetchAndDisplayToots() { fetchToots().then(data => { - const memosContainer = document.getElementById('memos-container'); + const memosContainer = document.getElementById('tooot'); const tootsToShow = data.slice(offset, offset + limit); // 选择要显示的toots memosContainer.innerHTML += formatHTML(tootsToShow); offset += limit; // 更新偏移量