Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(reading 'appendChild') #44

Open
ayazwai opened this issue Apr 4, 2023 · 0 comments
Open

(reading 'appendChild') #44

ayazwai opened this issue Apr 4, 2023 · 0 comments

Comments

@ayazwai
Copy link

ayazwai commented Apr 4, 2023

Hello, there is no problem when I create the cards 1 time, but when I try to create them the 2nd time, I get this error. Is there any way to destroy or delete previously created cards? I searched the system a bit but I couldn't find a way

scratchcard.min.js:1 Uncaught TypeError: Cannot read properties of null (reading 'appendChild')
at t.value (scratchcard.min.js:1:21987)
at new t (scratchcard.min.js:1:19107)
at Object. (script.js:421:14)
at Function.each (jquery.min.js:2:2777)
at createScratchCards (script.js:415:7)
at Object.success (script.js:235:17)
at c (jquery.min.js:2:27742)
at Object.fireWith [as resolveWith] (jquery.min.js:2:28487)
at l (jquery.min.js:2:78789)
at XMLHttpRequest. (jquery.min.js:2:81117)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant