Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

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

  • 1 Antwort
  • 1 hat dieses Problem
  • 10 Aufrufe
  • Letzte Antwort von 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?

Alle Antworten (1)

more options

Hello Sandraqu,

Please Open my attachment

I hope resolve your problem then reply me back

Thank you