mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-22 11:05:42 +01:00
Instead of having JavaScript code guess which elements exist on a page, elements now declare their keyboard shortcuts via data-global-keyboard-shortcut attribute. This makes it easier to add new shortcuts and follows Gitea's existing patterns for data-global-init and data-global-click.