You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our JS is scattered among various source files that only vaguely represent the client side's structure.
Also, panel-specific code should check if its panel is present (document.getElementById("the-panel-s-id") returns the element) and only continue if it is, instead of throwing errors.
Move panel-specific functions into files respecting the panel structure (eg. one file for one panel)
Only run something if it has to do with the current page
The text was updated successfully, but these errors were encountered:
Currently our JS is scattered among various source files that only vaguely represent the client side's structure.
Also, panel-specific code should check if its panel is present (
document.getElementById("the-panel-s-id")
returns the element) and only continue if it is, instead of throwing errors.The text was updated successfully, but these errors were encountered: