mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 12:07:20 +00:00
Backport #27994 by @wxiaoguang To improve maintainability, this PR: 1. Rename `web_src/js/modules/aria` to `web_src/js/modules/fomantic` (the code there are all for aria of fomantic) 2. Move api/transition related code to `web_src/js/modules/fomantic/api.js` and `web_src/js/modules/fomantic/transition.js` No logic is changed. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
5
web_src/js/modules/fomantic/base.js
Normal file
5
web_src/js/modules/fomantic/base.js
Normal file
@ -0,0 +1,5 @@
|
||||
let ariaIdCounter = 0;
|
||||
|
||||
export function generateAriaId() {
|
||||
return `_aria_auto_id_${ariaIdCounter++}`;
|
||||
}
|
Reference in New Issue
Block a user