From 4929590f37c27005a440f7e82c284726746ef3f9 Mon Sep 17 00:00:00 2001 From: satopian Date: Fri, 10 Feb 2023 22:03:36 +0900 Subject: [PATCH] if(response_status!==200) --- petitnote/template/basic/paint_klecks.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/petitnote/template/basic/paint_klecks.html b/petitnote/template/basic/paint_klecks.html index 40ff3f0c..eda249fc 100644 --- a/petitnote/template/basic/paint_klecks.html +++ b/petitnote/template/basic/paint_klecks.html @@ -81,8 +81,8 @@ if(response_status===404){ return alert('404 not found\nsaveklecks.php''エラー404\nsaveklecks.phpがありません。'); } - if(response_status===503){ - return alert('503 Service Unavailable\nPlease try again!''エラー503\n時間をおいて再度投稿してみてください。'); + if(response_status!==200){ + return alert('Server or line is unstable.\nPlease try again!''投稿に失敗\n時間をおいて再度投稿してみてください。'); } if (response.ok) { response.text().then((text) => {