Skip to content
Snippets Groups Projects

Fixed 'use shortcuts' button on docs

What does this MR do?

Exposes 'onToggleHelp() to window object through showHelp() so a help panel can be toggled globally using showHelp().

Are there points in the code the reviewer needs to double check?

Is this the best implementation? I actually think this is tidier than doing something like onclick="new Shortcuts().onToggleHelp" or $.trigger 'keydown', char: '?' but let me know.

Why was this MR needed?

Docs UX

What are the relevant issue numbers?

Closes #19157 (closed).

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading