blow/static/js
Guillem Martinez Salvador 4fdce5f678 Use optional chaining to add listeners to optional UI elements.
Because some UI elements are optional, code assuming they always exist
was causing some of the JS to fail.

Notably, the mobile menu was inoperable unless the '...' sidebar was
enabled, since trying to add a listener to the non-existent sidebar
button would error out the JS function before it could add the listener
for the mobile menu.

Same changes included in the minified js.
2022-01-28 18:17:59 -05:00
..
lang.js Use optional chaining to add listeners to optional UI elements. 2022-01-28 18:17:59 -05:00
main.js Use optional chaining to add listeners to optional UI elements. 2022-01-28 18:17:59 -05:00
page.js update 2021-11-13 23:01:08 +01:00
search.js update 2021-11-23 19:04:51 +01:00