How to know which file is repeating in the console.log?

Asked

Viewed 45 times

1

I have a problem with my code, where I use javascript, firebase and bootstrap.

I search for information in firebase and have a "new" within the query that creates some information in my html. But if I repeat this function twice in a row, it creates the information more than twice.

I need to know where these repetitions really come from. Is there any way?

inserir a descrição da imagem aqui

  • 1

    Can you enter the code? It seems to be something related to events, some listener that you forgot to remove...

  • Show us your code so we can help you

  • @bio sorry, I did not post the code because it is corporate and cannot be posted. But if that’s what you said, could you tell me how I do to check?

  • 1

    I realize your code is corporate, but you can replace sensitive data with data fetishes for us to have a verifiable example

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.