@ -32,16 +32,15 @@ function percentagePosition(e, target) {
}
window.addEventListener("click", (e) => {
placeSticker(e);
getInput(e);
});
window.addEventListener("touchstart", (e) => {
function getInput(e) {
placeSticker(percentagePosition(e, stickerContainer), infoList[loopIndex]);
// Cringe sorry
if (loopIndex < infoList.length - 1) {
loopIndex++;