From 4bfcaafcba05d53b8232a08c3e521762f8a8b96b Mon Sep 17 00:00:00 2001 From: hayao Date: Fri, 6 Aug 2021 21:48:07 +0900 Subject: [PATCH] =?utf8?q?[fix]=20:=20=E8=A6=81=E7=B4=A0=E3=81=AE=E5=88=9D?= =?utf8?q?=E6=9C=9F=E5=8C=96=E3=81=A8=E3=81=97=E3=81=A6null=E3=81=AE?= =?utf8?q?=E4=BB=A3=E3=82=8F=E3=82=8A=E3=81=AB=E7=A9=BA=E6=96=87=E5=AD=97?= =?utf8?q?=E3=82=92=E4=BB=A3=E5=85=A5=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sanmoku/index.html | 2 +- sanmoku/script/init.js | 2 +- sanmoku/script/main.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sanmoku/index.html b/sanmoku/index.html index 44be627..285e096 100644 --- a/sanmoku/index.html +++ b/sanmoku/index.html @@ -33,7 +33,7 @@ -

+

diff --git a/sanmoku/script/init.js b/sanmoku/script/init.js index 48cb7c2..f1366e5 100644 --- a/sanmoku/script/init.js +++ b/sanmoku/script/init.js @@ -1,6 +1,6 @@ // 初期化をする関数 const InitilizeTable = function() { - MainTable.innerHTML = null; + MainTable.innerHTML = ""; for (y = 0 ; y < TableYNumber; y++){ // 行を作成するループ // 行を作成する diff --git a/sanmoku/script/main.js b/sanmoku/script/main.js index 40b4371..fcde2fd 100644 --- a/sanmoku/script/main.js +++ b/sanmoku/script/main.js @@ -89,7 +89,7 @@ ApplyButton.addEventListener("click", function(){ GameEnded = false; CheckedBox = 0; CurrentPlayer = 0; - Msg.innerText = null; + Msg.innerText = ""; // 入力された値が正常か確認 if(InputTableX.value >= 3 && InputTableY.value >= 3){ -- 2.11.0