Skip to content

Commit d719239

Browse files
authored
Fix focusables selector in modal.js (#500)
1 parent cacff22 commit d719239

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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)