Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

When using Array as combo, only the first keyboard shortcut shows up on shift+? #242

@thatkookooguy

Description

@thatkookooguy

When I add the following code to my app, everything works great:

hotkeys.add({
  combo: ['s', 'mod+f'],
  description: 'Search',
  callback: function(e) {
    $('input.search-text').focus();
    if (e.preventDefault) {
      e.preventDefault();
    }
  }
});

Both keyboard shortcuts work. But only one of them (the first one in the list) appears when I enter the Shift+? page. (tried changing the order and always the first one appears and the others are ignored):

screen_shot_2016-08-11_at_11_00_49

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