agdsn / sipa

The Supreme Information Providing Application
MIT License
13 stars 10 forks source link

Evaluate dropping jQuery #488

Closed FestplattenSchnitzel closed 6 months ago

FestplattenSchnitzel commented 6 months ago

jQuery isn't required (any more) in Bootstrap 5 [0] and pygal-tooltips seems to work without [1] but we seem to use it in

[0] https://getbootstrap.com/docs/5.3/getting-started/javascript/#optionally-using-jquery [1] https://www.pygal.org/en/3.0.0/documentation/web.html

lukasjuhrich commented 6 months ago

Sure, that would be a good idea. In that vein, the scripts should be simplified using modern syntax (arrow functions, let/const instead of var, …)