Skip to content

Commit c62f03b

Browse files
committed
move to modules/aria
1 parent e7ca484 commit c62f03b

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

web_src/js/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ import {initFormattingReplacements} from './features/formatting.js';
8989
import {initCopyContent} from './features/copycontent.js';
9090
import {initCaptcha} from './features/captcha.js';
9191
import {initRepositoryActionView} from './components/RepoActionView.vue';
92-
import {initAriaCheckboxPatch} from './features/aria-checkbox.js';
93-
import {initAriaDropdownPatch} from './features/aria-dropdown.js';
92+
import {initAriaCheckboxPatch} from './modules/aria/checkbox.js';
93+
import {initAriaDropdownPatch} from './modules/aria/dropdown.js';
9494

9595
// Run time-critical code as soon as possible. This is safe to do because this
9696
// script appears at the end of <body> and rendered HTML is accessible at that point.
File renamed without changes.
File renamed without changes.

web_src/js/features/aria-checkbox.js renamed to web_src/js/modules/aria/checkbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import $ from 'jquery';
2-
import {generateAriaId} from './aria-base.js';
2+
import {generateAriaId} from './base.js';
33

44
const ariaPatchKey = '_giteaAriaPatchCheckbox';
55
const fomanticCheckboxFn = $.fn.checkbox;

web_src/js/features/aria-dropdown.js renamed to web_src/js/modules/aria/dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import $ from 'jquery';
2-
import {generateAriaId} from './aria-base.js';
2+
import {generateAriaId} from './base.js';
33

44
const ariaPatchKey = '_giteaAriaPatchDropdown';
55
const fomanticDropdownFn = $.fn.dropdown;

0 commit comments

Comments
 (0)