mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
fix
This commit is contained in:
@@ -175,7 +175,7 @@ function frameOptionClicked(event) {
|
||||
selectedFrame = parseInt(clickedElementIndex);
|
||||
document.getElementById("maskPicker").innerHTML = "";
|
||||
for (var i = 0; i < frameList[selectedFrame].maskOptionList.length; i++) {
|
||||
console.log(frameList[selectedFrame].maskOptionList);
|
||||
// console.log(frameList[selectedFrame].maskOptionList);
|
||||
document.getElementById("maskPicker").innerHTML += "<div class='maskOption' onclick='maskOptionClicked(event)' id='maskName" + frameList[selectedFrame].maskOptionList[i] + "'><img src='" + maskList[maskNameList.indexOf(frameList[selectedFrame].maskOptionList[i])].src + "'>" + frameList[selectedFrame].maskOptionList[i] + "</div>";
|
||||
}
|
||||
document.getElementsByClassName("maskOption")[0].classList.add("maskOptionSelected");
|
||||
|
Reference in New Issue
Block a user