Skip to content

Commit 8534026

Browse files
authored
finishing touches
1 parent 74065b8 commit 8534026

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
}
3636
#hi_text{
3737
margin:0px;
38+
top:5px;
39+
position:relative;
3840
}
3941
button{
4042
position:absolute;
@@ -231,7 +233,7 @@
231233
<p>Load code:<br/></p>
232234
<input type="text" id="sa_loadt"></input>
233235
<button id="sa_loadb">Load</button>
234-
<p id="sa_text">Success</p>
236+
<p id="sa_text"></p>
235237
</div>
236238
<script>
237239
//////////////////////////////////////////////////////////////////////////////////////////////INIT VARS
@@ -579,15 +581,12 @@
579581
var code=document.getElementById("sa_loadt").value;
580582
for(var iter=0;iter<7;iter++){
581583
m_save+=code.charAt(iter);
582-
console.log(code.charAt(iter)+" "+iter.toString());
583584
}
584585
for(var iter=7;iter<14;iter++){
585586
g_save+=code.charAt(iter);
586-
console.log(code.charAt(iter)+" "+iter.toString());
587587
}
588588
var m_hash=code.charAt(14)+code.charAt(15);
589589
var g_hash=code.charAt(16)+code.charAt(17);
590-
console.log(m_hash+" "+g_hash+"<- code says");
591590
var m_ahash=0;
592591
var g_ahash=0;
593592
for(var iter=0;iter<7;iter++){
@@ -602,7 +601,6 @@
602601
if(parseInt(g_ahash)<10){
603602
g_ahash="0"+g_ahash;
604603
}
605-
console.log(m_ahash+" "+g_ahash+"<- actual calc");
606604
if((m_hash==m_ahash)&&(g_hash==g_ahash)){
607605
document.getElementById("sa_text").innerHTML="Success"
608606
m=parseInt(m_save);

0 commit comments

Comments
 (0)