more optimizations

This commit is contained in:
zefie
2025-08-11 15:18:58 -04:00
parent 6c32fc4190
commit 9c02abd7e1
30 changed files with 57 additions and 57 deletions

View File

@@ -218,7 +218,7 @@ for(var loop = 0; loop < vCount; loop++) {
<!-- draw Try It button if the info has been passed from the service -->
appUrl = document.formInfo.tryItUrl.value;
if (appUrl != "" ) {
if ( appUrl.substring(0,10) == "wtv-tricks" ) {
if ( appUrl.slice(0,10) == "wtv-tricks" ) {
if ( document.formInfo.tryItLabel.value.length == 4 ) {
document.write("<input onclick='tryApp()' value='Try " + document.formInfo.tryItLabel.value + "' borderimage='file://ROM/Borders/ButtonBorder2.bif' type=button usestyle width=110>");
} else {