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

Alignment crash on firefox #83

Open abdielcs opened 3 years ago

abdielcs commented 3 years ago

Trying to apply alignment on firefox will crash. Firefox browser 88.0.1 (64-bit).

To Reproduce

  1. Go to https://ka2.org/jqtl-v2/index.php with Firefox
  2. Change Alignment to current, Then Click on button.
  3. See error

Screenshots image

**Desktop

Additional context I found the problem in my own context and it happens with the default 'rangeAlign' => 'current' and also $('#my-timeline').Timeline('alignment', 'now', 'fast'); . On chrome it's behave OK.

Maybe is related to Cuba timezone, but at least Chrome handle it well.

ka215 commented 3 years ago

Hi,

On my environment (Windows 10+Firefox88.0.1(64bit)), I couldn't reproduce your problem. Also, I tried changing my system time zone to "Atlantic Standard Time" which is UTC-04:00 same likes Cuba (because Windows OS doesn't have "Cuba (CDT)" in its system time zone), but it still didn't occur that trouble.