Skip to content

Commit ed4f3f5

Browse files
authored
Update index.html
1 parent ffeda8a commit ed4f3f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
<button id="ma_zoomin">Zoom in</button>
291291
<button id="ma_zoomout">Zoom out</button>
292292
</div>
293-
<p><br/>v177</p>
293+
<p><br/>v178</p>
294294
<script>
295295
//////////////////////////////////////////////////////////////////////////////////////////////INIT VARS
296296
var mouseX=0;
@@ -581,7 +581,7 @@
581581
}
582582

583583
}
584-
document.getElementById("in_text").innerHTML=char_name[char_rarity][char_num]+"-"+ranks[char_rarity]+": #"+(char_rarity*5+char_num).toString();
584+
document.getElementById("in_text").innerHTML=char_name[char_rarity][char_num]+"-"+ranks[char_rarity]+": #"+(char_rarity*5+char_num+1).toString();
585585
}
586586
//////////////////////////////////////////////////////////////////////////////////////////////BUTTONS-MANDELBROT
587587
document.getElementById("ma").onclick=function(){
@@ -858,11 +858,11 @@
858858
}
859859
};
860860
//////////////////////////////////////////////////////////////////////////////////////////////INVENTORY-EQUIP
861-
for(var iter=0;iter<15;iter++){
861+
for(var iter=0;iter<20;iter++){
862862
document.getElementById(iter).onclick=function(){
863863
char_rarity=Math.floor(this.id/5);
864864
char_num=this.id%5;
865-
document.getElementById("in_text").innerHTML=char_name[char_rarity][char_num]+"-"+ranks[char_rarity]+": #"+this.id;
865+
document.getElementById("in_text").innerHTML=char_name[char_rarity][char_num]+"-"+ranks[char_rarity]+": #"+(this.id+1).tostring();
866866
};
867867
};
868868
</script>

0 commit comments

Comments
 (0)