Permalink
Please sign in to comment.
Browse files
Fix client-side router on site
The JS for the group share page failed to load because of an incorrect comparison of the result of String.match() against a number and also because of an attempt to load Bootstrap unnecessarily on this pages. This commit fixes the issue and prepares us for adding new pages in future by: * Adding a client-side micro-router to simplify running page-specific JS * Only loading the Bootstrap components on pages that actually need it.
- Loading branch information...
Showing
with
23 additions
and 20 deletions.
- +3 −0 h/static/scripts/share-group-form.js
- +19 −20 h/static/scripts/site.js
- +1 −0 package.json
0 comments on commit
aa1ea43