Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- im.addEventListener("click", function(idx) {
- return function() {
- if (!gallerie.getAttribute("data-locked")) {
- gallerie.setAttribute("data-locked", "true");
- playSound();
- if (vergleichccr == idx) {
- control.value = "Das war richtig. Klicke jetzt den Button WEITER";
- } else {
- control.value = "Das war falsch. Beginne wieder mit Start";
- }
- }
- };
- }(i));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement