Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

Document.timeline is overriding my "timeline" object during onClick

  • 1 resposta
  • 1 tem este problema
  • 8 visualizações
  • Última resposta por ARMAN KHAN

more options

Hello, we have an inline onClick event that begins with event.stopPropagation() and is followed by a call to our timeline.<method>; however, while onClick, our timeline is Document's Document.timeline, and it causes a JS error because it's looking for a method that does not exist.

I tried to move the function so as to affect namespace without success.

I welcome advise and otherwise, is this a bug in the WebAPI Document.timeline?

Hello, we have an inline onClick event that begins with event.stopPropagation() and is followed by a call to our timeline.<method>; however, while onClick, our timeline is Document's Document.timeline, and it causes a JS error because it's looking for a method that does not exist. I tried to move the function so as to affect namespace without success. I welcome advise and otherwise, is this a bug in the WebAPI Document.timeline?

Todas as respostas (1)

more options

Hello Sandraqu,

Please Open my attachment

I hope resolve your problem then reply me back

Thank you