Apply review suggestion

This commit is contained in:
Joachim 2021-11-28 21:45:35 +01:00
parent 3816b0aa57
commit bf5cb898ef
1 changed files with 4 additions and 4 deletions

View File

@ -425,10 +425,10 @@ let BookWyrm = new class {
'a[href]:not([disabled])', 'a[href]:not([disabled])',
'button:not([disabled])', 'button:not([disabled])',
'textarea:not([disabled])', 'textarea:not([disabled])',
'input[type="text"]:not([disabled])', 'input:not([type="hidden"]):not([disabled])',
'input[type="radio"]:not([disabled])', 'select:not([disabled])',
'input[type="checkbox"]:not([disabled])', 'details:not([disabled])',
'select:not([disabled])' '[tabindex]:not([tabindex="-1"]):not([disabled])'
].join(',') ].join(',')
); );
const firstFocusableEl = focusableEls[0]; const firstFocusableEl = focusableEls[0];