Skip to content

Commit 2836a19

Browse files
committed
Remove subtitle focus on first item
1 parent a56476e commit 2836a19

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/plugins/subtitle/subtitle.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,6 @@ export default class Subtitle {
169169
e.preventDefault()
170170

171171
this.subtitlesList.classList.toggle('v-active')
172-
173-
if (this.subtitlesList.classList.contains('v-active')) {
174-
const firstItem = this.subtitlesList.querySelector('.v-trackButton') as HTMLElement
175-
setTimeout(() => firstItem.focus(), this.subtitlesListCssTransitionDuration)
176-
}
177172
}
178173

179174
/**

0 commit comments

Comments
 (0)