Skip to content

Unify javascript method calls from html #148

@EsBaTix

Description

@EsBaTix

Right now there are three ways in which a function is called.

  1. An HTML-Element has an onclick event linked
  2. A Link-Element has a "javascript:" target/url
  3. The $(document).ready(function() adds a listener to an HTML-Element

It would be easier for other maintainers to add to the project if we only used a single way to call javascript.


IMHO we should only use onclick events. It's the most transparent and well known way.
I would be happy to implement this once a decision has been made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions