mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-07-04 07:00:02 +02:00
feat(ui): use kbd in label selector hint, remove enter (#8199)
Rel: https://codeberg.org/forgejo/forgejo/pulls/7958 Also remove Enter from the hint as it is not working right now, ref https://codeberg.org/forgejo/forgejo/issues/1335#issuecomment-1073523 Preview: * https://codeberg.org/attachments/b8eb7525-2bbe-4216-97f5-bc10aee1f3e2 * https://codeberg.org/attachments/37e3734e-0f51-4a8b-add6-7bc0e0a5ad6b Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8199 Reviewed-by: Beowulf <beowulf@beocode.eu>
This commit is contained in:
parent
39e6785da0
commit
049cda526b
3 changed files with 3 additions and 1 deletions
|
@ -167,6 +167,7 @@ export function initRepoIssueSidebarList() {
|
|||
});
|
||||
});
|
||||
|
||||
// FIXME: this is broken, see discussion https://codeberg.org/forgejo/forgejo/pulls/8199
|
||||
$('.menu .ui.dropdown.label-filter').on('keydown', (e) => {
|
||||
if (e.altKey && e.keyCode === 13) {
|
||||
const selectedItem = document.querySelector('.menu .ui.dropdown.label-filter .menu .item.selected');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue