mirror of
https://github.com/Daichimarukana/uwuzu.git
synced 2026-06-04 19:14:41 +00:00
uwuzu v1.6.8 Hapuego
This commit is contained in:
+2
-3
@@ -290,6 +290,7 @@ if ("serviceWorker" in navigator) {
|
||||
<div id="Big_ImageModal" class="Image_modal">
|
||||
<div class="modal-content">
|
||||
<img id="Big_ImageMain" href="">
|
||||
<div id="NoAI_Footer" class="warning-footer"><span>No AI</span>機械学習への利用を一切拒否します。</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -638,12 +639,11 @@ $(document).ready(function() {
|
||||
dataType: 'json',
|
||||
success: function(response) {
|
||||
if (response.success) {
|
||||
// いいね成功時の処理
|
||||
if (isLiked) {
|
||||
$this.removeClass('bookmark_after'); // クラスを削除していいねを取り消す
|
||||
view_notify("ブックマークを解除しました");
|
||||
} else {
|
||||
$this.addClass('bookmark_after'); // クラスを追加していいねを追加する
|
||||
view_notify("ユーズをブックマークしました!");
|
||||
}
|
||||
} else {
|
||||
// いいね失敗時の処理
|
||||
@@ -687,7 +687,6 @@ $(document).ready(function() {
|
||||
success: function (response) {
|
||||
if (response.success) {
|
||||
postElement.remove();
|
||||
view_notify("ユーズを削除しました!");
|
||||
} else {
|
||||
view_notify("ユーズの削除に失敗しました");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user