ShowProgressCount option is only respected if animation is enabled

#20 · closed · 0 comments

View on GitHub ↗

copydatfloppy

Hi, thank you for creating this project, it's lightweight and easy to use, exactly what I was looking for. Setting `ShowProgressCount` to false did not remove the progress count for me, looking at the code I can see it's because that value is only checked when animation is enabled. I init the bar with this simple call, if I set `animation` to true the progress count does not display. ```javascript $(this).LineProgressbar({ ShowProgressCount: false, animation: false, percentage: $(this).attr('data-percentage') }) ``` I'm happy to create a PR to address this unless this is the expected functionality or I'm initialising it incorrectly.

Comments