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

uwuzu version 1.2.21

This commit is contained in:
daichimarukana
2023-09-11 22:55:05 +09:00
parent 27e53bf0fd
commit 86e172e90c
28 changed files with 2116 additions and 663 deletions
+11 -1
View File
@@ -215,6 +215,10 @@ $pdo = null;
<div id="loading" class="loading" style="display: none;">
🤔
</div>
<div id="error" class="error" style="display: none;">
<h1>エラー</h1>
<p>サーバーの応答がなかったか不完全だったようです。<br>ネットワークの接続が正常かを確認の上再読み込みしてください。</p>
</div>
</div>
</main>
@@ -281,11 +285,17 @@ $(document).ready(function() {
method: 'GET',
data: { keyword: keyword, userid: userid },
dataType: 'html',
timeout: 300000,
success: function(response) {
$('#postContainer').append(response);
$("#loading").hide();
isLoading = false;
}
},
error: function (xhr, textStatus, errorThrown) { // エラーと判定された場合
isLoading = false;
$("#loading").hide();
$("#error").show();
},
});
}