ka215 / jquery.timeline

You can easily create the horizontal timeline with two types by using this jQuery plugin.
MIT License
240 stars 43 forks source link

"can not read propperty getMonth of Null" error #72

Open qroft opened 3 years ago

qroft commented 3 years ago

Describe the bug I followed the documentation and first of all i would love to inform you that on this page https://ka2.org/configuring-plugin-options/ you call .timeline but as you mention on the startpage, since v2 it is .Timeline

Nevertheless, i followed each step and the console on Chrome shows me that it can not read getMonth

To Reproduce Steps to reproduce the behavior:

  1. Download the latest version from Github
  2. Implement CSS and JS links
  3. Follow the steps on the "Getting started" page
  4. Load the page and see some "loading bars" animation + the error in console

Expected behavior That the timeline should appear.

Desktop (please complete the following information):

Additional context Here is the error from the console:

jquery.timeline.min.js:10 Uncaught (in promise) TypeError: Cannot read property 'getMonth' of null at t.value (jquery.timeline.min.js:10) at t.value (jquery.timeline.min.js:10) at t.value (jquery.timeline.min.js:10) at t.<anonymous> (jquery.timeline.min.js:10) at u (jquery.timeline.min.js:1) at Generator._invoke (jquery.timeline.min.js:1) at Generator.next (jquery.timeline.min.js:1) at p (jquery.timeline.min.js:1) at a (jquery.timeline.min.js:1) at jquery.timeline.min.js:1

ka215 commented 3 years ago

Hi there, Thank you for reporting.

I also confirmed the bug. Please wait until the bug is fixed.

ka215 commented 3 years ago

Hi, I've released version 2.1.3 that fixes the bug. Please try the new version.

Thank you,

qroft commented 3 years ago

I can confirm that it works on Chrome PC and Android browser. Thanks a lot, will now play around with it.