Skip to content

Commit c56343b

Browse files
authored
Merge pull request #55273 from nextcloud/refactor/a11y-util
refactor(core): use a11y activation util from `@nextcloud/vue`
2 parents 77d660e + 750a3d9 commit c56343b

File tree

5 files changed

+7
-29
lines changed

5 files changed

+7
-29
lines changed

core/src/Util/a11y.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

core/src/jquery/contactsmenu.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
55

6-
import $ from 'jquery'
7-
86
import { generateUrl } from '@nextcloud/router'
9-
import { isA11yActivation } from '../Util/a11y.js'
7+
import { isA11yActivation } from '@nextcloud/vue/functions/a11y'
8+
import $ from 'jquery'
109

1110
const LIST = ''
1211
+ '<div class="menu popovermenu menu-left hidden contactsmenu-popover">'

core/src/jquery/ocdialog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
55

6-
import $ from 'jquery'
6+
import { isA11yActivation } from '@nextcloud/vue/functions/a11y'
77
import { createFocusTrap } from 'focus-trap'
8-
import { isA11yActivation } from '../Util/a11y.js'
8+
import $ from 'jquery'
99

1010
$.widget('oc.ocdialog', {
1111
options: {

dist/core-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)