elixir/static
Franciszek Stachura ef1b83ad75 js: Move minor fixes into functions
Move the following to new functions:
* anchor offset handler
* 301 fix
* autoscrolling prevention

Hookup onload handler with addEventListener.

About autoscrolling prevention:

I'm not sure if this is still relevant. I'm unable to trigger this
behavior. I think it could be related to a some kind of a Chrome bug.

https://forum.jquery.com/portal/en/community/topic/chrome-bug-or-how-do-i-prevent-a-form-field-to-scroll-the-container-when-focused
https://stackoverflow.com/questions/49318282/how-to-prevent-autoscroll-to-focused-input
2024-09-26 13:05:00 +02:00
..
fonts Restructure Elixir to avoid Python path hacks 2024-08-27 11:33:18 +02:00
img templates: Remove png version of logo 2024-09-09 16:33:12 +02:00
autocomplete.css Restructure Elixir to avoid Python path hacks 2024-08-27 11:33:18 +02:00
autocomplete.js autocomplete: Submit form on item selection 2024-09-13 11:22:28 +02:00
banner.css Restructure Elixir to avoid Python path hacks 2024-08-27 11:33:18 +02:00
dynamic-references.js Restructure Elixir to avoid Python path hacks 2024-08-27 11:33:18 +02:00
fonts.css Restructure Elixir to avoid Python path hacks 2024-08-27 11:33:18 +02:00
header.css Restructure Elixir to avoid Python path hacks 2024-08-27 11:33:18 +02:00
script.js js: Move minor fixes into functions 2024-09-26 13:05:00 +02:00
style.css web: Make mobile sidebar state separate 2024-09-20 14:33:01 +02:00