1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-05 03:24:41 +00:00

uwuzu version 1.3.1 new_planet

This commit is contained in:
Daichimarukana
2024-03-02 22:27:25 +09:00
parent 1597041471
commit 15758bf040
16 changed files with 104 additions and 78 deletions
+12 -1
View File
@@ -222,6 +222,10 @@ $pdo = null;
<div id="loading" class="loading" style="display: none;">
🤔
</div>
<div id="error" class="error" style="display: none;">
<h1>エラー</h1>
<p>サーバーの応答がなかったか不完全だったようです。<br>ネットワークの接続が正常かを確認の上再読み込みしてください。<br>(NETWORK_HUKANZEN_STOP)</p>
</div>
</main>
@@ -251,12 +255,19 @@ $(document).ready(function() {
method: 'GET',
data: { page: pageNumber, userid: userid , account_id: account_id },
dataType: 'html',
timeout: 300000,
success: function(response) {
$('#postContainer').append(response);
pageNumber++;
isLoading = false;
$("#loading").hide();
}
$("#error").hide();
},
error: function (xhr, textStatus, errorThrown) { // エラーと判定された場合
isLoading = false;
$("#loading").hide();
$("#error").show();
},
});
}