mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-14 01:35:55 +09:00
Fix label list divider (#25312)
We only needs 2 lines to hide the dividers.
```
$dropdownLabelFilter.dropdown('setting', {'hideDividers': 'empty'});
$dropdownLabelFilter.dropdown('refreshItems');
```
Other code blocks are refactored by the way.


This commit is contained in:
1 parent
a5d0246fff
commit
bfab129fb9
3 files changed
+3
-2
No files matched your search
@@ -149,6 +149,7 @@ export function initRepoIssueSidebarList() {
|
||||
}
|
||||
}
|
||||
});
|
||||
$('.ui.dropdown.label-filter').dropdown('setting', {'hideDividers': 'empty'}).dropdown('refreshItems');
|
||||
}
|
||||
|
||||
export function initRepoIssueCommentDelete() {
|
||||
|
||||
Reference in new issue
Block a user