Skip to content

Commit

Permalink
if(response_status!==200)
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Feb 10, 2023
1 parent 38c09b0 commit 4929590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions petitnote/template/basic/paint_klecks.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
if(response_status===404){
return alert(<?php if($en):?>'404 not found\nsaveklecks.php'<?php else:?>'エラー404\nsaveklecks.phpがありません。'<?php endif;?>);
}
if(response_status===503){
return alert(<?php if($en):?>'503 Service Unavailable\nPlease try again!'<?php else:?>'エラー503\n時間をおいて再度投稿してみてください。'<?php endif;?>);
if(response_status!==200){
return alert(<?php if($en):?>'Server or line is unstable.\nPlease try again!'<?php else:?>'投稿に失敗\n時間をおいて再度投稿してみてください。'<?php endif;?>);
}
if (response.ok) {
response.text().then((text) => {
Expand Down

0 comments on commit 4929590

Please sign in to comment.