forked from forgejo/forgejo
Update JS dependencies, add new eslint rules (#24597)
- Update all JS dependencies - Enable new eslint rules, fix issue (some via autofix) - Fix some missed eslint rule renames from [unicorn v25](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v25.0.0) - Tested Monaco, Katex, Swagger UI --------- Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
1dd83dbb91
commit
d5b2bf9044
11 changed files with 667 additions and 528 deletions
|
@ -6,7 +6,7 @@ const {csrfToken} = window.config;
|
|||
function updateIssueCount(cards) {
|
||||
const parent = cards.parentElement;
|
||||
const cnt = parent.getElementsByClassName('board-card').length;
|
||||
parent.getElementsByClassName('board-card-cnt')[0].innerText = cnt;
|
||||
parent.getElementsByClassName('board-card-cnt')[0].textContent = cnt;
|
||||
}
|
||||
|
||||
function moveIssue({item, from, to, oldIndex}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue