Skip to content

Restructure client side code according to which panel it belongs to #6

@dexmona

Description

@dexmona

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions