Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

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

  • 1 отговор
  • 1 има този проблем
  • 8 изгледи
  • Последен отговор от 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?

Всички отговори (1)

more options

Hello Sandraqu,

Please Open my attachment

I hope resolve your problem then reply me back

Thank you