インテント整理

This commit is contained in:
harukin-expo-dev-env 2025-02-08 09:00:43 +00:00
parent ea4fa46fe0
commit 5204231ccb

View File

@ -1092,8 +1092,8 @@ export const injectJavascriptData: InjectJavascriptData = (
.innerText = .innerText+"臨時列車\\n"; .innerText = .innerText+"臨時列車\\n";
} }
let JRF = false; let JRF = false;
const getJRF = num =>{ const getJRF = num =>{
switch(num){ switch(num){
case "71": case "71":
return "東京(タ)→高松(タ)"+"\\n"; return "東京(タ)→高松(タ)"+"\\n";
@ -1126,9 +1126,9 @@ const getJRF = num =>{
JRF = true; JRF = true;
return null; return null;
} }
} }
const data = getJRF(); const data = getJRF();
.innerText = data != null ? data+行き先情報.innerText : 行き先情報.innerText; .innerText = data != null ? data+行き先情報.innerText : 行き先情報.innerText;
const getThrew = num =>{ const getThrew = num =>{
@ -1188,8 +1188,8 @@ const data = getJRF(列番データ);
.innerText = getThrew() || .innerText; .innerText = getThrew() || .innerText;
//列番付与 //列番付与
.innerText = .innerText++(JRF ? "":"レ"); .innerText = .innerText++(JRF ? "":"レ");
} }
`; `;
const textInsert = const textInsert =
` `