attempt to fix cSetup glitch

This commit is contained in:
zefie
2022-11-28 14:33:21 -05:00
parent 7f1a34e080
commit 44449eceee

View File

@@ -77,7 +77,7 @@ hspace="0" vspace="0" fontsize="large" noscroll>
function setOther() { function setOther() {
count = document.connect.preset.length; count = document.connect.preset.length;
document.connect.preset.selectedIndex = count - 1; document.connect.preset.selectedIndex = count - 1;
updateService(); setTimeout(updateService,10);
} }
function updateService() { function updateService() {
srv = document.connect.preset[document.connect.preset.selectedIndex].value; srv = document.connect.preset[document.connect.preset.selectedIndex].value;
@@ -111,7 +111,7 @@ hspace="0" vspace="0" fontsize="large" noscroll>
document.message.msg.value="Jarhead\'s public minisrv, offers the most production-like WebTV service, to simulate how it was like back then." document.message.msg.value="Jarhead\'s public minisrv, offers the most production-like WebTV service, to simulate how it was like back then."
alert("Coming soon!") alert("Coming soon!")
document.connect.preset.selectedIndex = document.connect.preset.selectedIndex - 1; document.connect.preset.selectedIndex = document.connect.preset.selectedIndex - 1;
updateService(); setTimeout(updateService,10);
case "other": case "other":
document.message.msg.value="Your custom service." document.message.msg.value="Your custom service."
@@ -158,7 +158,7 @@ hspace="0" vspace="0" fontsize="large" noscroll>
Address: Address:
<input size=16 ASCIIONLY name=machine bgcolor=#444444 text=#cbcbcb cursor=#cc9933 value="74.76.120.18" onkeypress="setOther()"> <input size=16 ASCIIONLY name=machine bgcolor=#444444 text=#cbcbcb cursor=#cc9933 value="74.76.120.18" onkeypress="setOther()">
&nbsp;&nbsp;&nbsp;Port: &nbsp;&nbsp;&nbsp;Port:
<input size=5 ASCIIONLY NUMBERS name=port bgcolor=#444444 text=#cbcbcb cursor=#cc9933 value="1615"> <input size=5 ASCIIONLY NUMBERS name=port bgcolor=#444444 text=#cbcbcb cursor=#cc9933 value="1615" onkeypress="setOther()">
</table> </table>
<spacer type=block height="8"> <spacer type=block height="8">