Skip to content

Commit 5a5860d

Browse files
author
Peter Weilharter
committed
Fixes focusables selector in modal.js
1 parent cacff22 commit 5a5860d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/modal.js

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

resources/js/modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ window.LivewireUIModal = () => {
121121
});
122122
},
123123
focusables() {
124-
let selector = 'a, button, input:not([type=\'hidden\'], textarea, select, details, [tabindex]:not([tabindex=\'-1\']))'
124+
let selector = 'a, button, input:not([type=\'hidden\']), textarea, select, details, [tabindex]:not([tabindex=\'-1\'])'
125125

126126
return [...this.$el.querySelectorAll(selector)]
127127
.filter(el => !el.hasAttribute('disabled'))

0 commit comments

Comments
 (0)