Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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

  • 1 risposta
  • 1 ha questo problema
  • 10 visualizzazioni
  • Ultima risposta di 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?

Tutte le risposte (1)

more options

Hello Sandraqu,

Please Open my attachment

I hope resolve your problem then reply me back

Thank you