qodesmith / datepicker

Get a date with JavaScript! A datepicker with no dependencies.
344 stars 101 forks source link

Use raw calc #83

Closed qodesmith closed 4 years ago

qodesmith commented 4 years ago

Addresses #82. Pretty sure browsers differ in how they process sub-pixel calculations. So by leaving the calc's untouched, the browser is free to do the math. Otherwise, a literal percent would be used and can throw things off.