Skip to content

Commit

Permalink
Fix legacy deck keyboard monitor updateFocusing
Browse files Browse the repository at this point in the history
  • Loading branch information
EltonChou committed Jul 9, 2023
1 parent 8103d24 commit 96aacf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content_script/KeyboardMonitor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class TweetDeckLegacyKeyboardMonitor extends GeneralKeyboardMonitor {

updateFocusing(e: KeyboardEvent): void {
if (!(e.target instanceof Element)) return
this.focusing = select('.is-selected-tweet', e.target)
this.focusing = select('.is-selected-tweet')
}
}

Expand Down

0 comments on commit 96aacf8

Please sign in to comment.