Upgrading to Bootstrap 5 and removing dependency on JQuery.
Summary
Migrating to Boostrap 5 and removing dependency on JQuery.
Motivation
Issue #1975
References
#1975
Right new Left Old.
Also this pull requests fixes a bug where tap for more was not changing to tap for less on click.
There is a screenshot I have not posted
I added use strict to the javascript and discovered a bunch of errors.
I just discovered there was a code path I was not testing, I tested it and fixed the following:
- Added popper.js. (Required by tooltip)
- Ensured tooltips actually work.
- Migrated all data- to data-bs
- const drawerEl
- 'use strict'; everywhere
- In the codepath of 404 debug this should be tested
if (handleEl === null) return;
I was not able to take a screenshot to tooltips working though because they depend on the mouse being over them.
@kraih Would you be in favor of moving the embedded javascript in the template to a file? Maybe in another pr.
@kraih Would you be in favor of moving the embedded javascript in the template to a file? Maybe in another pr.
Can't say, would depend on how clean the resulting code ends up.