Skip to content

Commit

Permalink
簡易修正
Browse files Browse the repository at this point in the history
  • Loading branch information
webfullsympathy committed Oct 6, 2024
1 parent d5351d2 commit 8ec4a17
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
window.addEventListener("load",function(){
let url = new URL(location.href);
let data=url.searchParams.get("text");
let area = document.querySelector("#share");
area.value = data;
if(!data == null){
let area = document.querySelector("#share");
area.value = data;
}
})

console.log("コンソールではエラー用に色々ログを出しています。")
Expand Down

0 comments on commit 8ec4a17

Please sign in to comment.